Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 106.9 kB / 16.41 MB, free: 6.473 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.001602/0.001603, allocations: 191.9 kB / 17.34 MB, free: 5.754 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7079/0.7079, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 69.47 kB / 0.5577 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.149, allocations: 76.18 MB / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0016/0.1507, allocations: 0.579 MB / 0.6327 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.1509, allocations: 83.73 kB / 0.6328 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.151, allocations: 0 / 0.6328 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.151, allocations: 3.938 kB / 0.6328 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.151, allocations: 4 kB / 0.6328 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1513, allocations: 15.98 kB / 0.6328 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.388e-05/0.1513, allocations: 4 kB / 0.6328 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.1514, allocations: 11.97 kB / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.1514, allocations: 11.94 kB / 0.6328 GB, free: 3.652 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.1514, allocations: 0 / 0.6328 GB, free: 3.652 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1515, allocations: 7.938 kB / 0.6328 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.399e-05/0.1515, allocations: 11.98 kB / 0.6328 GB, free: 3.633 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1515, allocations: 4 kB / 0.6328 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.1516, allocations: 0 / 0.6328 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.1e-05/0.1516, allocations: 15.91 kB / 0.6329 GB, free: 3.613 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1517, allocations: 0 / 0.6329 GB, free: 3.613 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1517, allocations: 0 / 0.6329 GB, free: 3.613 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1517, allocations: 0 / 0.6329 GB, free: 3.613 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.0003368/0.152, allocations: 327.9 kB / 0.6332 GB, free: 3.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1521, allocations: 8.031 kB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.1522, allocations: 12.92 kB / 0.6332 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1524, allocations: 160.4 kB / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1524, allocations: 4.359 kB / 0.6333 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1524, allocations: 4.359 kB / 0.6333 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1525, allocations: 42.25 kB / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1525, allocations: 4.188 kB / 0.6334 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1526, allocations: 3.938 kB / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1526, allocations: 0 / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.1526, allocations: 19.92 kB / 0.6334 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.1528, allocations: 149.6 kB / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1529, allocations: 42.59 kB / 0.6336 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.153, allocations: 16.91 kB / 0.6336 GB, free: 2.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.153, allocations: 0 / 0.6336 GB, free: 2.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.153, allocations: 38.56 kB / 0.6337 GB, free: 2.633 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.153, allocations: 0 / 0.6337 GB, free: 2.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.000198/0.1532, allocations: 57.56 kB / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.1533, allocations: 59.39 kB / 0.6338 GB, free: 2.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.014e-05/0.1533, allocations: 89.86 kB / 0.6338 GB, free: 2.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1533, allocations: 29.7 kB / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.1534, allocations: 80.14 kB / 0.634 GB, free: 2.285 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1534, allocations: 11.75 kB / 0.634 GB, free: 2.273 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1534, allocations: 17.72 kB / 0.634 GB, free: 2.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.1535, allocations: 314.8 kB / 0.6343 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.1536, allocations: 7.984 kB / 0.6343 GB, free: 1.926 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.1536, allocations: 12 kB / 0.6343 GB, free: 1.914 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.1537, allocations: 24.84 kB / 0.6343 GB, free: 1.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1537, allocations: 0 / 0.6343 GB, free: 1.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001123/0.1538, allocations: 57.61 kB / 0.6344 GB, free: 1.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1538, allocations: 4 kB / 0.6344 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1539, allocations: 0 / 0.6344 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1539, allocations: 3.938 kB / 0.6344 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.1543, allocations: 43.94 kB / 0.6344 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1555, allocations: 1.405 MB / 0.6358 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.1556, allocations: 0 / 0.6358 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.1556, allocations: 0 / 0.6358 GB, free: 236 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/0.1557, allocations: 117.9 kB / 0.6359 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.1557, allocations: 0 / 0.6359 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.1557, allocations: 7.5 kB / 0.6359 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1557, allocations: 3.984 kB / 0.6359 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.1557, allocations: 0 / 0.6359 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1557, allocations: 4 kB / 0.6359 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1558, allocations: 149.6 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1558, allocations: 0 / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.1562, allocations: 51.92 kB / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1562, allocations: 0 / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1562, allocations: 4 kB / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.1573, allocations: 1.408 MB / 0.6375 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1574, allocations: 0 / 0.6375 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.1575, allocations: 77.08 kB / 0.6376 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.1575, allocations: 77.11 kB / 0.6376 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.1575, allocations: 3.938 kB / 0.6377 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.896e-05/0.1576, allocations: 16 kB / 0.6377 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1576, allocations: 0 / 0.6377 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1576, allocations: 0 / 0.6377 GB, free: 14.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.031e-05/0.1576, allocations: 75.28 kB / 0.6377 GB, free: 14.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1576, allocations: 0 / 0.6377 GB, free: 14.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001884/0.1578, allocations: 4 kB / 0.6377 GB, free: 14 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.158, allocations: 103.2 kB / 0.6378 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1584, allocations: 63.91 kB / 0.6379 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1584, allocations: 0 / 0.6379 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.1587, allocations: 51.97 kB / 0.638 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1588, allocations: 4 kB / 0.638 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.1591, allocations: 92.95 kB / 0.638 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1593, allocations: 0.6768 MB / 0.6387 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.014e-05/0.1594, allocations: 0 / 0.6387 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.1594, allocations: 11.44 kB / 0.6387 GB, free: 12.94 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1594, allocations: 4 kB / 0.6387 GB, free: 12.94 MB / 494.1 MB Notification: Performance of Templates: time 0.00222/0.1616, allocations: 410 kB / 0.6391 GB, free: 12.54 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)