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.001132/0.001132, allocations: 100.2 kB / 16.4 MB, free: 6.398 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.001111/0.001111, allocations: 196 kB / 17.34 MB, free: 5.695 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 65.08 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1481, allocations: 76.18 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002783/0.151, allocations: 1.423 MB / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.1513, allocations: 96.58 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.1514, allocations: 0 / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.1514, allocations: 3.938 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.1515, allocations: 7.938 kB / 0.6336 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1518, allocations: 19.92 kB / 0.6336 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.1518, allocations: 23.92 kB / 0.6336 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.152, allocations: 15.92 kB / 0.6336 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.152, allocations: 4 kB / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.1521, allocations: 19.91 kB / 0.6337 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1521, allocations: 0 / 0.6337 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.1522, allocations: 19.98 kB / 0.6337 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.1522, allocations: 7.938 kB / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1522, allocations: 3.938 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1524, allocations: 35.95 kB / 0.6337 GB, free: 2.676 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1524, allocations: 4 kB / 0.6337 GB, free: 2.672 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1524, allocations: 0 / 0.6337 GB, free: 2.672 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1524, allocations: 3.938 kB / 0.6337 GB, free: 2.668 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.0004686/0.1529, allocations: 343.4 kB / 0.6341 GB, free: 2.281 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1529, allocations: 8.031 kB / 0.6341 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.1531, allocations: 12.92 kB / 0.6341 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1532, allocations: 168.3 kB / 0.6342 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.1533, allocations: 8.375 kB / 0.6342 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1533, allocations: 4.375 kB / 0.6342 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.1535, allocations: 54.23 kB / 0.6343 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1535, allocations: 192 / 0.6343 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1535, allocations: 3.938 kB / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1536, allocations: 3.938 kB / 0.6343 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.1538, allocations: 55.92 kB / 0.6344 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.1542, allocations: 261 kB / 0.6346 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1544, allocations: 58.47 kB / 0.6347 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.1545, allocations: 28.91 kB / 0.6347 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1545, allocations: 0 / 0.6347 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1546, allocations: 38.5 kB / 0.6347 GB, free: 1.477 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.1546, allocations: 0 / 0.6347 GB, free: 1.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004195/0.155, allocations: 97.62 kB / 0.6348 GB, free: 1.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.155, allocations: 55.41 kB / 0.6349 GB, free: 1.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.1551, allocations: 105.8 kB / 0.635 GB, free: 1.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1551, allocations: 29.83 kB / 0.635 GB, free: 1.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1552, allocations: 80.14 kB / 0.6351 GB, free: 1.078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.1552, allocations: 15.83 kB / 0.6351 GB, free: 1.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1553, allocations: 13.72 kB / 0.6351 GB, free: 1.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.1553, allocations: 310.8 kB / 0.6354 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1555, allocations: 27.97 kB / 0.6354 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.894e-05/0.1556, allocations: 23.98 kB / 0.6355 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.1558, allocations: 60.73 kB / 0.6355 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1558, allocations: 0 / 0.6355 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002384/0.156, allocations: 77.5 kB / 0.6356 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1561, allocations: 16.03 kB / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1561, allocations: 0 / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1561, allocations: 0 / 0.6356 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1562, allocations: 15.98 kB / 0.6356 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1562, allocations: 7.922 kB / 0.6356 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.1563, allocations: 8.234 kB / 0.6356 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1563, allocations: 0 / 0.6356 GB, free: 500 kB / 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.265e-05/0.1564, allocations: 113.8 kB / 0.6357 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.1564, allocations: 8 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.1564, allocations: 7.531 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1565, allocations: 7.922 kB / 0.6358 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1565, allocations: 4 kB / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1565, allocations: 0 / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1566, allocations: 161.6 kB / 0.6359 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1566, allocations: 0 / 0.6359 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.1567, allocations: 11.98 kB / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1567, allocations: 0 / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1567, allocations: 0 / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1568, allocations: 8 kB / 0.6359 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1568, allocations: 0 / 0.6359 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.1571, allocations: 179.4 kB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.1571, allocations: 81.02 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1571, allocations: 0 / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.1572, allocations: 12.02 kB / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1573, allocations: 4 kB / 0.6362 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1573, allocations: 0 / 0.6362 GB, free: 15.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.614e-05/0.1573, allocations: 83.28 kB / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1573, allocations: 3.938 kB / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1576, allocations: 4 kB / 0.6363 GB, free: 15.71 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.1577, allocations: 99.23 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.158, allocations: 51.95 kB / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.158, allocations: 0 / 0.6364 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1581, allocations: 27.97 kB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1584, allocations: 9.344 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.1588, allocations: 121.7 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.159, allocations: 0.6806 MB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.391e-05/0.159, allocations: 0 / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.1591, allocations: 11.44 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1591, allocations: 0 / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of Templates: time 0.002574/0.1616, allocations: 0.5822 MB / 0.6378 GB, free: 14.08 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)