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.001029/0.001029, allocations: 109.2 kB / 16.4 MB, free: 6.344 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.0009983/0.0009982, allocations: 189.7 kB / 17.33 MB, free: 5.816 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.376/1.376, allocations: 222.9 MB / 241 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.8215/0.8215, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 68.83 kB / 0.5731 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 78.69 MB / 0.65 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001609/0.1619, allocations: 0.5805 MB / 0.6505 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.1622, allocations: 95.67 kB / 0.6506 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.1623, allocations: 4 kB / 0.6506 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.1623, allocations: 0 / 0.6506 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.1624, allocations: 0 / 0.6506 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1626, allocations: 15.91 kB / 0.6506 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.77e-05/0.1627, allocations: 15.92 kB / 0.6507 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.001e-05/0.1628, allocations: 4 kB / 0.6507 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.1628, allocations: 4 kB / 0.6507 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.1629, allocations: 4 kB / 0.6507 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1629, allocations: 0 / 0.6507 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.163, allocations: 15.98 kB / 0.6507 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.163, allocations: 0 / 0.6507 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.1631, allocations: 7.922 kB / 0.6507 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1632, allocations: 11.98 kB / 0.6507 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1632, allocations: 0 / 0.6507 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1632, allocations: 4 kB / 0.6507 GB, free: 3.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1632, allocations: 3.984 kB / 0.6507 GB, free: 3.34 MB / 494.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.000403/0.1636, allocations: 315.9 kB / 0.651 GB, free: 2.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1637, allocations: 8.031 kB / 0.651 GB, free: 2.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.1639, allocations: 12.92 kB / 0.651 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.164, allocations: 172.3 kB / 0.6512 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.164, allocations: 384 / 0.6512 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.164, allocations: 384 / 0.6512 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1641, allocations: 38.25 kB / 0.6512 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1642, allocations: 192 / 0.6512 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1642, allocations: 7.938 kB / 0.6512 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1642, allocations: 0 / 0.6512 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.1643, allocations: 15.98 kB / 0.6513 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.1645, allocations: 153.7 kB / 0.6514 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.1646, allocations: 42.5 kB / 0.6514 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.1647, allocations: 20.84 kB / 0.6515 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1647, allocations: 7.984 kB / 0.6515 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1648, allocations: 38.56 kB / 0.6515 GB, free: 2.359 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1648, allocations: 0 / 0.6515 GB, free: 2.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000223/0.165, allocations: 57.61 kB / 0.6516 GB, free: 2.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.165, allocations: 59.28 kB / 0.6516 GB, free: 2.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.166e-05/0.1651, allocations: 89.86 kB / 0.6517 GB, free: 2.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1651, allocations: 25.7 kB / 0.6517 GB, free: 2.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.1651, allocations: 84.14 kB / 0.6518 GB, free: 2.012 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1652, allocations: 11.89 kB / 0.6518 GB, free: 2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.1652, allocations: 13.72 kB / 0.6518 GB, free: 1.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1653, allocations: 314.8 kB / 0.6521 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.1654, allocations: 8 kB / 0.6521 GB, free: 1.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.1654, allocations: 7.984 kB / 0.6521 GB, free: 1.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.1655, allocations: 16.86 kB / 0.6522 GB, free: 1.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1655, allocations: 8 kB / 0.6522 GB, free: 1.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001017/0.1656, allocations: 49.67 kB / 0.6522 GB, free: 1.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1656, allocations: 4 kB / 0.6522 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1657, allocations: 0 / 0.6522 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1657, allocations: 7.875 kB / 0.6522 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.1661, allocations: 43.94 kB / 0.6523 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1672, allocations: 1.401 MB / 0.6536 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.1672, allocations: 0 / 0.6536 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.1673, allocations: 4.031 kB / 0.6536 GB, free: 15.97 MB / 0.4981 GB 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 6.574e-05/0.1673, allocations: 123.8 kB / 0.6538 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.1673, allocations: 3.984 kB / 0.6538 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.298e-05/0.1674, allocations: 3.5 kB / 0.6538 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1674, allocations: 0 / 0.6538 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.1674, allocations: 4 kB / 0.6538 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1674, allocations: 0 / 0.6538 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.903e-05/0.1675, allocations: 157.6 kB / 0.6539 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1675, allocations: 4.328 kB / 0.6539 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.1678, allocations: 43.94 kB / 0.654 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1678, allocations: 4 kB / 0.654 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1678, allocations: 0 / 0.654 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.169, allocations: 1.412 MB / 0.6554 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.169, allocations: 4.031 kB / 0.6554 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.1691, allocations: 73.11 kB / 0.6554 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1692, allocations: 77.11 kB / 0.6555 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.1692, allocations: 3.938 kB / 0.6555 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.1692, allocations: 8.062 kB / 0.6555 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.1692, allocations: 7.922 kB / 0.6555 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.1692, allocations: 3.938 kB / 0.6555 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.1693, allocations: 75.28 kB / 0.6556 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1693, allocations: 3.938 kB / 0.6556 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001899/0.1695, allocations: 4 kB / 0.6556 GB, free: 13.73 MB / 0.4981 GB 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.0001324/0.1696, allocations: 103.2 kB / 0.6557 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.1701, allocations: 63.91 kB / 0.6558 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1701, allocations: 0 / 0.6558 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.1703, allocations: 35.97 kB / 0.6558 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.1705, allocations: 9.703 kB / 0.6558 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.1707, allocations: 104.9 kB / 0.6559 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.1709, allocations: 0.6729 MB / 0.6566 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.171, allocations: 0 / 0.6566 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.171, allocations: 11.44 kB / 0.6566 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.171, allocations: 4 kB / 0.6566 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.002369/0.1734, allocations: 419.9 kB / 0.657 GB, free: 12.27 MB / 0.4981 GB 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)