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.0009404/0.0009404, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 175.7 kB / 16.57 MB, free: 6.52 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.293/1.293, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6674/0.6674, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 15.98 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 77.16 MB / 0.5569 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006314/0.1323, allocations: 307 kB / 0.5571 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002515/0.1325, allocations: 83.84 kB / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.769e-06/0.1326, allocations: 0 / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.217e-06/0.1326, allocations: 0 / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.1326, allocations: 0 / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.1328, allocations: 15.86 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.726e-05/0.1328, allocations: 8 kB / 0.5572 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.1328, allocations: 4 kB / 0.5572 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.1329, allocations: 0 / 0.5572 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.1329, allocations: 11.97 kB / 0.5573 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.133, allocations: 0 / 0.5573 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.133, allocations: 15.98 kB / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-06/0.133, allocations: 0 / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.1331, allocations: 25.7 kB / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.819e-05/0.1331, allocations: 7.984 kB / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1331, allocations: 0 / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1331, allocations: 0 / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1331, allocations: 4 kB / 0.5573 GB, free: 11.11 MB / 430.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.0002695/0.1334, allocations: 317.4 kB / 0.5576 GB, free: 10.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1335, allocations: 12.02 kB / 0.5576 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.1336, allocations: 15.98 kB / 0.5576 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.303e-05/0.1337, allocations: 163.1 kB / 0.5578 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1337, allocations: 0 / 0.5578 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.1337, allocations: 0 / 0.5578 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1338, allocations: 37.69 kB / 0.5578 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1339, allocations: 7.953 kB / 0.5578 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1339, allocations: 4 kB / 0.5578 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1339, allocations: 0 / 0.5578 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.134, allocations: 11.98 kB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.1341, allocations: 149.7 kB / 0.558 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1343, allocations: 46.5 kB / 0.558 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.1343, allocations: 4 kB / 0.558 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.1343, allocations: 34.5 kB / 0.5581 GB, free: 10.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1343, allocations: 0 / 0.5581 GB, free: 10.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001906/0.1345, allocations: 65.72 kB / 0.5581 GB, free: 10.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1346, allocations: 51.41 kB / 0.5582 GB, free: 10.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.049e-05/0.1346, allocations: 89.86 kB / 0.5583 GB, free: 9.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1346, allocations: 25.7 kB / 0.5583 GB, free: 9.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.1346, allocations: 88.14 kB / 0.5584 GB, free: 9.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.1347, allocations: 19.95 kB / 0.5584 GB, free: 9.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.1347, allocations: 0 / 0.5584 GB, free: 9.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1348, allocations: 314.8 kB / 0.5587 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.1349, allocations: 4 kB / 0.5587 GB, free: 9.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.1349, allocations: 7.984 kB / 0.5587 GB, free: 9.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.135, allocations: 8 kB / 0.5587 GB, free: 9.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.135, allocations: 0 / 0.5587 GB, free: 9.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001022/0.1351, allocations: 49.97 kB / 0.5588 GB, free: 9.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1351, allocations: 11.98 kB / 0.5588 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1351, allocations: 0 / 0.5588 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1351, allocations: 48 / 0.5588 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.1355, allocations: 47.86 kB / 0.5588 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.1368, allocations: 1.312 MB / 0.5601 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.1368, allocations: 3.906 kB / 0.5601 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1368, allocations: 0 / 0.5601 GB, free: 7.902 MB / 430.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.1369, allocations: 117.8 kB / 0.5602 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-06/0.1369, allocations: 0 / 0.5602 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.364e-05/0.1369, allocations: 7.688 kB / 0.5602 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1369, allocations: 0 / 0.5602 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1369, allocations: 3.953 kB / 0.5602 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.137, allocations: 0 / 0.5602 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.191e-05/0.1371, allocations: 157.7 kB / 0.5604 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1371, allocations: 0 / 0.5604 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.1374, allocations: 55.92 kB / 0.5604 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1374, allocations: 0 / 0.5604 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1375, allocations: 0 / 0.5604 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.1387, allocations: 1.31 MB / 0.5617 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1388, allocations: 3.953 kB / 0.5617 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1389, allocations: 81.36 kB / 0.5618 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.1389, allocations: 81.05 kB / 0.5619 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-06/0.139, allocations: 0 / 0.5619 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.787e-05/0.139, allocations: 3.984 kB / 0.5619 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.139, allocations: 4 kB / 0.5619 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.139, allocations: 3.953 kB / 0.5619 GB, free: 5.855 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.1391, allocations: 79.22 kB / 0.562 GB, free: 5.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1391, allocations: 0 / 0.562 GB, free: 5.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.1393, allocations: 8 kB / 0.562 GB, free: 5.77 MB / 430.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.1394, allocations: 99.94 kB / 0.5621 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1399, allocations: 59.91 kB / 0.5621 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1399, allocations: 4 kB / 0.5621 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.1401, allocations: 35.95 kB / 0.5622 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.032e-05/0.1402, allocations: 5.812 kB / 0.5622 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.1406, allocations: 94.97 kB / 0.5623 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.1408, allocations: 0.6809 MB / 0.5629 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.09e-05/0.1408, allocations: 4 kB / 0.5629 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.1409, allocations: 11.44 kB / 0.5629 GB, free: 4.719 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1409, allocations: 0 / 0.5629 GB, free: 4.719 MB / 430.1 MB Notification: Performance of Templates: time 0.001974/0.1428, allocations: 368.8 kB / 0.5633 GB, free: 4.359 MB / 430.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)