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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 118.3 kB / 17.09 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 196.6 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7508/0.7508, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 66.59 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.169, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002685/0.1717, allocations: 1.422 MB / 0.6341 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.1721, allocations: 92.64 kB / 0.6342 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.1721, allocations: 4 kB / 0.6342 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.1722, allocations: 3.938 kB / 0.6342 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.1722, allocations: 3.938 kB / 0.6342 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1725, allocations: 23.91 kB / 0.6343 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.1725, allocations: 23.94 kB / 0.6343 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1727, allocations: 7.922 kB / 0.6343 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.1727, allocations: 8 kB / 0.6343 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.1728, allocations: 15.92 kB / 0.6343 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1728, allocations: 4 kB / 0.6343 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.1729, allocations: 11.98 kB / 0.6343 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.1729, allocations: 7.984 kB / 0.6343 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.1729, allocations: 15.92 kB / 0.6343 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.173, allocations: 31.91 kB / 0.6344 GB, free: 2.723 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1731, allocations: 4 kB / 0.6344 GB, free: 2.719 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1731, allocations: 0 / 0.6344 GB, free: 2.719 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1731, allocations: 0 / 0.6344 GB, free: 2.719 MB / 478.1 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.000477/0.1736, allocations: 347.3 kB / 0.6347 GB, free: 2.328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1736, allocations: 8.031 kB / 0.6347 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1738, allocations: 12.92 kB / 0.6347 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1739, allocations: 172.3 kB / 0.6349 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.174, allocations: 4.312 kB / 0.6349 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.174, allocations: 4.375 kB / 0.6349 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1742, allocations: 54.23 kB / 0.635 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1742, allocations: 192 / 0.635 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1742, allocations: 7.938 kB / 0.635 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1742, allocations: 0 / 0.635 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.1745, allocations: 47.94 kB / 0.635 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.1749, allocations: 256.9 kB / 0.6353 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1751, allocations: 62.52 kB / 0.6353 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1752, allocations: 28.84 kB / 0.6353 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1752, allocations: 0 / 0.6353 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1753, allocations: 34.56 kB / 0.6354 GB, free: 1.535 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1753, allocations: 0 / 0.6354 GB, free: 1.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004423/0.1757, allocations: 105.6 kB / 0.6355 GB, free: 1.426 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1758, allocations: 55.34 kB / 0.6355 GB, free: 1.359 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.1759, allocations: 106 kB / 0.6356 GB, free: 1.246 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1759, allocations: 29.7 kB / 0.6357 GB, free: 1.211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.1759, allocations: 96.11 kB / 0.6357 GB, free: 1.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.176, allocations: 7.844 kB / 0.6358 GB, free: 1.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.176, allocations: 9.719 kB / 0.6358 GB, free: 1.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1761, allocations: 318.8 kB / 0.6361 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1762, allocations: 23.97 kB / 0.6361 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.1763, allocations: 23.97 kB / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1765, allocations: 52.81 kB / 0.6362 GB, free: 0.668 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1765, allocations: 0 / 0.6362 GB, free: 0.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002534/0.1768, allocations: 81.5 kB / 0.6362 GB, free: 0.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1768, allocations: 16.03 kB / 0.6363 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1768, allocations: 3.938 kB / 0.6363 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1769, allocations: 0 / 0.6363 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.177, allocations: 11.98 kB / 0.6363 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.177, allocations: 0 / 0.6363 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.1771, allocations: 7.984 kB / 0.6363 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1771, allocations: 3.938 kB / 0.6363 GB, free: 0.5391 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/0.1772, allocations: 117.8 kB / 0.6364 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1772, allocations: 4 kB / 0.6364 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.1772, allocations: 11.52 kB / 0.6364 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1772, allocations: 3.984 kB / 0.6364 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1772, allocations: 0 / 0.6364 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1773, allocations: 0 / 0.6364 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.1774, allocations: 169.6 kB / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1774, allocations: 0 / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.738e-05/0.1775, allocations: 7.984 kB / 0.6366 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1775, allocations: 4 kB / 0.6366 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1775, allocations: 0 / 0.6366 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1776, allocations: 4 kB / 0.6366 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1776, allocations: 0 / 0.6366 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.1779, allocations: 179.4 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.178, allocations: 81.02 kB / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.178, allocations: 0 / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.1781, allocations: 12.02 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.1782, allocations: 8 kB / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1782, allocations: 256 / 0.6369 GB, free: 15.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.1782, allocations: 87.27 kB / 0.6369 GB, free: 15.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1782, allocations: 0 / 0.6369 GB, free: 15.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1785, allocations: 4 kB / 0.6369 GB, free: 15.76 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1786, allocations: 95.25 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.1789, allocations: 55.95 kB / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1789, allocations: 0 / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.179, allocations: 31.91 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1793, allocations: 7.938 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.1797, allocations: 143.4 kB / 0.6373 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.18, allocations: 0.6768 MB / 0.6379 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.1801, allocations: 11.44 kB / 0.6379 GB, free: 14.68 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1801, allocations: 0 / 0.6379 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Templates: time 0.002126/0.1822, allocations: 0.6355 MB / 0.6386 GB, free: 14.05 MB / 494.1 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)