Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6771/0.6771, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 185.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.1 MB / 399.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 86.44 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.563e-05, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2259, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4553/0.6813, allocations: 101.7 MB / 0.7203 GB, free: 10.62 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.6816, allocations: 75.95 kB / 0.7204 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01306/0.6947, allocations: 3.945 MB / 0.7242 GB, free: 6.613 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.6947, allocations: 8 kB / 0.7242 GB, free: 6.605 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003784/0.6951, allocations: 338.4 kB / 0.7245 GB, free: 6.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6952, allocations: 8.031 kB / 0.7246 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.6953, allocations: 0 / 0.7246 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.6954, allocations: 159.1 kB / 0.7247 GB, free: 6.027 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.6954, allocations: 0 / 0.7247 GB, free: 6.027 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.6954, allocations: 4 kB / 0.7247 GB, free: 6.023 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.779e-05/0.6955, allocations: 3.984 kB / 0.7247 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.745e-05/0.6956, allocations: 29.64 kB / 0.7247 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6956, allocations: 7.906 kB / 0.7248 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6956, allocations: 0 / 0.7248 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6956, allocations: 4 kB / 0.7248 GB, free: 5.973 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.6959, allocations: 126.2 kB / 0.7249 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.6959, allocations: 14.58 kB / 0.7249 GB, free: 5.789 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.696, allocations: 9.891 kB / 0.7249 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/0.6965, allocations: 425.5 kB / 0.7253 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.6966, allocations: 34.56 kB / 0.7253 GB, free: 5.227 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.532e-06/0.6966, allocations: 0 / 0.7253 GB, free: 5.227 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002267/0.6968, allocations: 33.64 kB / 0.7254 GB, free: 5.188 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.6969, allocations: 59.33 kB / 0.7254 GB, free: 5.117 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.445e-05/0.6969, allocations: 85 kB / 0.7255 GB, free: 5.027 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.697, allocations: 29.7 kB / 0.7255 GB, free: 4.992 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.697, allocations: 84.17 kB / 0.7256 GB, free: 4.906 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.6971, allocations: 3.906 kB / 0.7256 GB, free: 4.902 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.6971, allocations: 3.938 kB / 0.7256 GB, free: 4.898 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6973, allocations: 310.8 kB / 0.7259 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.6973, allocations: 0 / 0.7259 GB, free: 4.586 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.6973, allocations: 4 kB / 0.7259 GB, free: 4.582 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.6974, allocations: 0 / 0.7259 GB, free: 4.582 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6974, allocations: 0 / 0.7259 GB, free: 4.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.508e-05/0.6975, allocations: 33.77 kB / 0.726 GB, free: 4.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6975, allocations: 8 kB / 0.726 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6975, allocations: 0 / 0.726 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6975, allocations: 7.891 kB / 0.726 GB, free: 4.527 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.6976, allocations: 0 / 0.726 GB, free: 4.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.6976, allocations: 4.953 kB / 0.726 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.6976, allocations: 4 kB / 0.726 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.6976, allocations: 4 kB / 0.726 GB, free: 4.516 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.705e-05/0.6977, allocations: 101 kB / 0.7261 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.6978, allocations: 4.031 kB / 0.7261 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.6979, allocations: 40.67 kB / 0.7261 GB, free: 4.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6979, allocations: 7.906 kB / 0.7261 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6979, allocations: 0 / 0.7261 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6979, allocations: 0 / 0.7261 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.832e-05/0.698, allocations: 122.2 kB / 0.7262 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.698, allocations: 0 / 0.7262 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.6981, allocations: 4 kB / 0.7262 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6981, allocations: 4.031 kB / 0.7263 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.6981, allocations: 0 / 0.7263 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6981, allocations: 4 kB / 0.7263 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6981, allocations: 0 / 0.7263 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000112/0.6982, allocations: 68.97 kB / 0.7263 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.6983, allocations: 77.11 kB / 0.7264 GB, free: 4.008 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.6983, allocations: 0 / 0.7264 GB, free: 4.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-06/0.6983, allocations: 0 / 0.7264 GB, free: 4.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.6983, allocations: 7.969 kB / 0.7264 GB, free: 4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.6984, allocations: 0 / 0.7264 GB, free: 4 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.795e-05/0.6984, allocations: 75.28 kB / 0.7265 GB, free: 3.926 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000238/0.6987, allocations: 23.83 kB / 0.7265 GB, free: 3.902 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003035/0.699, allocations: 111.2 kB / 0.7266 GB, free: 3.785 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.6991, allocations: 4 kB / 0.7266 GB, free: 3.781 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6991, allocations: 0 / 0.7266 GB, free: 3.781 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.6991, allocations: 12 kB / 0.7266 GB, free: 3.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.6993, allocations: 3.938 kB / 0.7266 GB, free: 3.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.6995, allocations: 48.48 kB / 0.7267 GB, free: 3.695 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.6998, allocations: 0.6802 MB / 0.7273 GB, free: 2.988 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6998, allocations: 0 / 0.7273 GB, free: 2.988 MB / 490.7 MB Notification: Performance of Templates: time 0.002753/0.7026, allocations: 453.5 kB / 0.7278 GB, free: 2.547 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)