Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.9 kB / 7.8 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4413/0.4413, allocations: 90.85 MB / 99.08 MB, free: 14.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 221.4 MB / 342.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 88.8 kB / 415.5 MB, free: 9.727 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.936e-06/8.977e-06, allocations: 4 kB / 493.9 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3239, allocations: 72.31 MB / 0.5529 GB, free: 44.68 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4382, allocations: 100.7 MB / 0.6512 GB, free: 7.852 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4384, allocations: 71.95 kB / 0.6513 GB, free: 7.781 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.001947/0.4404, allocations: 483.2 kB / 0.6518 GB, free: 7.316 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4404, allocations: 0 / 0.6518 GB, free: 7.316 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003768/0.4408, allocations: 346.3 kB / 0.6521 GB, free: 6.934 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4408, allocations: 8.031 kB / 0.6521 GB, free: 6.926 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.4409, allocations: 4 kB / 0.6521 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.441, allocations: 167 kB / 0.6523 GB, free: 6.719 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.441, allocations: 0 / 0.6523 GB, free: 6.719 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.441, allocations: 4 kB / 0.6523 GB, free: 6.715 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.551e-05/0.4411, allocations: 8 kB / 0.6523 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.483e-05/0.4412, allocations: 47.53 kB / 0.6523 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.4412, allocations: 4 kB / 0.6523 GB, free: 6.652 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4412, allocations: 0 / 0.6523 GB, free: 6.652 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4412, allocations: 4 kB / 0.6523 GB, free: 6.648 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.4416, allocations: 244.7 kB / 0.6526 GB, free: 6.375 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.4417, allocations: 30.58 kB / 0.6526 GB, free: 6.336 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.4417, allocations: 16.95 kB / 0.6526 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003383/0.4421, allocations: 405.5 kB / 0.653 GB, free: 5.828 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4421, allocations: 34.55 kB / 0.653 GB, free: 5.785 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4421, allocations: 4 kB / 0.653 GB, free: 5.781 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.4423, allocations: 49.55 kB / 0.6531 GB, free: 5.727 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.4423, allocations: 51.41 kB / 0.6531 GB, free: 5.664 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.4424, allocations: 96.98 kB / 0.6532 GB, free: 5.562 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4424, allocations: 25.7 kB / 0.6532 GB, free: 5.531 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.4425, allocations: 88.12 kB / 0.6533 GB, free: 5.441 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.4425, allocations: 7.844 kB / 0.6533 GB, free: 5.434 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.4425, allocations: 0 / 0.6533 GB, free: 5.434 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4426, allocations: 318.9 kB / 0.6536 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.4426, allocations: 4 kB / 0.6536 GB, free: 5.109 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.4426, allocations: 8 kB / 0.6536 GB, free: 5.102 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.4427, allocations: 4 kB / 0.6537 GB, free: 5.098 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4427, allocations: 1.125 kB / 0.6537 GB, free: 5.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.756e-05/0.4428, allocations: 49.59 kB / 0.6537 GB, free: 5.043 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4428, allocations: 4 kB / 0.6537 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.4428, allocations: 3.938 kB / 0.6537 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.4428, allocations: 0 / 0.6537 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.4429, allocations: 16.08 kB / 0.6537 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.4429, allocations: 0 / 0.6537 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.443, allocations: 8 kB / 0.6537 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.443, allocations: 0 / 0.6537 GB, free: 5.012 MB / 474.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 (2): * Single equations (assignments): 2 * 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 7.794e-05/0.4431, allocations: 109 kB / 0.6538 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.4431, allocations: 8.141 kB / 0.6538 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.4433, allocations: 57.31 kB / 0.6539 GB, free: 4.824 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4433, allocations: 0.6562 kB / 0.6539 GB, free: 4.824 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4433, allocations: 3.984 kB / 0.6539 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4433, allocations: 0 / 0.6539 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.4435, allocations: 142.1 kB / 0.654 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4435, allocations: 0 / 0.654 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.4436, allocations: 20.02 kB / 0.6541 GB, free: 4.625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4436, allocations: 0 / 0.6541 GB, free: 4.625 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4436, allocations: 4.688 kB / 0.6541 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4436, allocations: 0 / 0.6541 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4436, allocations: 0 / 0.6541 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001532/0.4438, allocations: 139.5 kB / 0.6542 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.4438, allocations: 81.14 kB / 0.6543 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.4438, allocations: 4 kB / 0.6543 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.4439, allocations: 7.984 kB / 0.6543 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.444, allocations: 4 kB / 0.6543 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.444, allocations: 0.5625 kB / 0.6543 GB, free: 4.355 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.559e-05/0.444, allocations: 87.19 kB / 0.6544 GB, free: 4.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.4442, allocations: 8 kB / 0.6544 GB, free: 4.262 MB / 474.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 (2): * Single equations (assignments): 2 * 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.0001299/0.4444, allocations: 107.2 kB / 0.6545 GB, free: 4.148 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.4445, allocations: 15.94 kB / 0.6545 GB, free: 4.133 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.4445, allocations: 0 / 0.6545 GB, free: 4.133 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.075e-05/0.4445, allocations: 9.5 kB / 0.6545 GB, free: 4.125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.4447, allocations: 6.031 kB / 0.6545 GB, free: 4.121 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.4449, allocations: 59.78 kB / 0.6546 GB, free: 4.039 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.4451, allocations: 0.692 MB / 0.6552 GB, free: 3.32 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4451, allocations: 0 / 0.6552 GB, free: 3.32 MB / 474.7 MB Notification: Performance of Templates: time 0.002328/0.4475, allocations: 0.5674 MB / 0.6558 GB, free: 2.781 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)