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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 172.5 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4547/0.4547, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.514/1.514, allocations: 223.3 MB / 348.4 MB, free: 4.891 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.0008165/0.0008164, allocations: 88.58 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 71.02 MB / 0.5594 GB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4942, allocations: 100.1 MB / 0.6572 GB, free: 9.387 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4944, allocations: 71.91 kB / 0.6573 GB, free: 9.316 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002128/0.4966, allocations: 0.7887 MB / 0.6581 GB, free: 8.535 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4966, allocations: 0 / 0.6581 GB, free: 8.535 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.4966, allocations: 0 / 0.6581 GB, free: 8.535 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.0004393/0.4971, allocations: 344 kB / 0.6584 GB, free: 8.148 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4971, allocations: 12.03 kB / 0.6584 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.4973, allocations: 12.92 kB / 0.6584 GB, free: 8.125 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4974, allocations: 168.3 kB / 0.6586 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.4975, allocations: 4.375 kB / 0.6586 GB, free: 7.918 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.4975, allocations: 384 / 0.6586 GB, free: 7.918 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.4977, allocations: 78.09 kB / 0.6587 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4977, allocations: 192 / 0.6587 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4977, allocations: 3.938 kB / 0.6587 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4977, allocations: 0 / 0.6587 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.4979, allocations: 63.95 kB / 0.6587 GB, free: 7.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.4984, allocations: 276.9 kB / 0.659 GB, free: 7.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.4986, allocations: 70.47 kB / 0.659 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4987, allocations: 36.91 kB / 0.6591 GB, free: 7.332 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.4987, allocations: 7.922 kB / 0.6591 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4988, allocations: 34.56 kB / 0.6591 GB, free: 7.281 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4988, allocations: 0 / 0.6591 GB, free: 7.281 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004171/0.4992, allocations: 121.6 kB / 0.6592 GB, free: 7.156 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4992, allocations: 51.41 kB / 0.6593 GB, free: 7.094 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.4993, allocations: 101.9 kB / 0.6594 GB, free: 6.984 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4994, allocations: 29.81 kB / 0.6594 GB, free: 6.949 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.4994, allocations: 88.14 kB / 0.6595 GB, free: 6.859 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.4994, allocations: 3.906 kB / 0.6595 GB, free: 6.855 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.4994, allocations: 4 kB / 0.6595 GB, free: 6.852 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4996, allocations: 310.8 kB / 0.6598 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4997, allocations: 31.97 kB / 0.6598 GB, free: 6.508 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.4998, allocations: 35.92 kB / 0.6599 GB, free: 6.473 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.5, allocations: 68.86 kB / 0.6599 GB, free: 6.402 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5, allocations: 0 / 0.6599 GB, free: 6.402 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000235/0.5002, allocations: 97.59 kB / 0.66 GB, free: 6.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5003, allocations: 4 kB / 0.66 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5003, allocations: 4 kB / 0.66 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5003, allocations: 0 / 0.66 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.5004, allocations: 11.98 kB / 0.66 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5004, allocations: 4 kB / 0.66 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.5005, allocations: 16.02 kB / 0.6601 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5005, allocations: 256 / 0.6601 GB, free: 6.262 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 () * Number of clocked 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 8.322e-05/0.5006, allocations: 117.7 kB / 0.6602 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.5006, allocations: 11.84 kB / 0.6602 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.5007, allocations: 7.516 kB / 0.6602 GB, free: 6.105 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.5007, allocations: 4 kB / 0.6602 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5007, allocations: 0 / 0.6602 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.5007, allocations: 3.938 kB / 0.6602 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.5009, allocations: 169.6 kB / 0.6604 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5009, allocations: 4 kB / 0.6604 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.501, allocations: 15.98 kB / 0.6604 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.501, allocations: 0 / 0.6604 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.501, allocations: 0 / 0.6604 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.501, allocations: 0 / 0.6604 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.501, allocations: 0 / 0.6604 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.5013, allocations: 191.4 kB / 0.6606 GB, free: 5.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.5013, allocations: 85.02 kB / 0.6606 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.5014, allocations: 0 / 0.6606 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.5014, allocations: 20.02 kB / 0.6607 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.5015, allocations: 3.938 kB / 0.6607 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.5015, allocations: 0 / 0.6607 GB, free: 5.535 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.165e-05/0.5016, allocations: 87.27 kB / 0.6608 GB, free: 5.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5016, allocations: 0 / 0.6608 GB, free: 5.449 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.5018, allocations: 8 kB / 0.6608 GB, free: 5.441 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 () * Number of clocked 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.0001159/0.5019, allocations: 95.25 kB / 0.6609 GB, free: 5.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.5021, allocations: 59.95 kB / 0.6609 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5021, allocations: 0 / 0.6609 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.5023, allocations: 40.03 kB / 0.6609 GB, free: 5.242 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.5025, allocations: 9.969 kB / 0.661 GB, free: 5.234 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.5029, allocations: 132.7 kB / 0.6611 GB, free: 5.078 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.5031, allocations: 0.6809 MB / 0.6617 GB, free: 4.371 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.775e-05/0.5032, allocations: 0 / 0.6617 GB, free: 4.371 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.5032, allocations: 7.438 kB / 0.6618 GB, free: 4.363 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5033, allocations: 3.938 kB / 0.6618 GB, free: 4.359 MB / 474.7 MB Notification: Performance of Templates: time 0.002299/0.5056, allocations: 0.4924 MB / 0.6622 GB, free: 3.871 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)