Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 107.3 kB / 16.4 MB, free: 6.445 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.001896/0.001897, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.431/1.431, 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.75/0.75, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.23 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1571, allocations: 76.19 MB / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001958/0.1591, allocations: 0.561 MB / 0.6327 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008453/0.16, allocations: 335.2 kB / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.16, allocations: 0 / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1601, allocations: 0 / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.127e-06/0.1601, allocations: 0 / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.1606, allocations: 111.6 kB / 0.6331 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.1607, allocations: 0 / 0.6331 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.1608, allocations: 0 / 0.6331 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.324e-05/0.1608, allocations: 8 kB / 0.6331 GB, free: 3.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.1608, allocations: 7.922 kB / 0.6331 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1609, allocations: 0 / 0.6331 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.1614, allocations: 275.6 kB / 0.6334 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1614, allocations: 0 / 0.6334 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1614, allocations: 0 / 0.6334 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1616, allocations: 87.86 kB / 0.6335 GB, free: 3.004 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1616, allocations: 0 / 0.6335 GB, free: 3.004 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1616, allocations: 0 / 0.6335 GB, free: 3.004 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1617, allocations: 0 / 0.6335 GB, free: 3.004 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004323/0.1621, allocations: 331.6 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.1621, allocations: 12.03 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.1622, allocations: 0.9375 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1624, allocations: 168.3 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1624, allocations: 384 / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1624, allocations: 384 / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1625, allocations: 34.25 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1625, allocations: 4.172 kB / 0.634 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1626, allocations: 3.938 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1626, allocations: 0 / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.1626, allocations: 4 kB / 0.634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1628, allocations: 149.7 kB / 0.6341 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.1628, allocations: 22.52 kB / 0.6342 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.1629, allocations: 4.859 kB / 0.6342 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.1634, allocations: 429.6 kB / 0.6346 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1634, allocations: 30.56 kB / 0.6346 GB, free: 1.578 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1634, allocations: 0 / 0.6346 GB, free: 1.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.1636, allocations: 45.56 kB / 0.6346 GB, free: 1.527 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1636, allocations: 51.41 kB / 0.6347 GB, free: 1.465 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.806e-05/0.1637, allocations: 89.86 kB / 0.6348 GB, free: 1.367 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1637, allocations: 25.7 kB / 0.6348 GB, free: 1.336 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.1637, allocations: 80.27 kB / 0.6349 GB, free: 1.254 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1638, allocations: 7.984 kB / 0.6349 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.1638, allocations: 21.66 kB / 0.6349 GB, free: 1.219 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1639, allocations: 310.8 kB / 0.6352 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.1639, allocations: 4 kB / 0.6352 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.1639, allocations: 7.984 kB / 0.6352 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.164, allocations: 4.859 kB / 0.6352 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.164, allocations: 0 / 0.6352 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.314e-05/0.164, allocations: 37.77 kB / 0.6353 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1641, allocations: 4 kB / 0.6353 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1641, allocations: 0 / 0.6353 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1641, allocations: 3.938 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.1641, allocations: 4 kB / 0.6353 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1641, allocations: 3.938 kB / 0.6353 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.1642, allocations: 7.844 kB / 0.6353 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1642, allocations: 4 kB / 0.6353 GB, free: 0.8164 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 (1): * Single equations (assignments): 1 * 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.559e-05/0.1643, allocations: 109.8 kB / 0.6354 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.1643, allocations: 8.031 kB / 0.6354 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-05/0.1644, allocations: 36.77 kB / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1644, allocations: 0 / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1644, allocations: 0 / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1644, allocations: 0 / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.1645, allocations: 153.7 kB / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1645, allocations: 0 / 0.6356 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.1645, allocations: 3.938 kB / 0.6356 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1645, allocations: 0 / 0.6356 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1645, allocations: 7.969 kB / 0.6356 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1646, allocations: 0 / 0.6356 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1646, allocations: 4 kB / 0.6356 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.628e-05/0.1646, allocations: 57.06 kB / 0.6356 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.1647, allocations: 77.11 kB / 0.6357 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1647, allocations: 7.938 kB / 0.6357 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.1647, allocations: 4 kB / 0.6357 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.1647, allocations: 4.031 kB / 0.6357 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.1647, allocations: 0 / 0.6357 GB, free: 256 kB / 478.1 MB Notification: Performance of sorting global known variables: time 2.9e-05/0.1648, allocations: 75.28 kB / 0.6358 GB, free: 180 kB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1648, allocations: 0 / 0.6358 GB, free: 180 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.165, allocations: 12 kB / 0.6358 GB, free: 168 kB / 478.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 (1): * Single equations (assignments): 1 * 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.0002058/0.1652, allocations: 115.2 kB / 0.6359 GB, free: 40 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 8.688e-05/0.1653, allocations: 7.938 kB / 0.6359 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1653, allocations: 0 / 0.6359 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.1653, allocations: 4.062 kB / 0.6359 GB, free: 28 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1654, allocations: 4 kB / 0.6359 GB, free: 24 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.1657, allocations: 85.05 kB / 0.636 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1661, allocations: 0.6729 MB / 0.6367 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.001e-05/0.1662, allocations: 4 kB / 0.6367 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.1662, allocations: 7.438 kB / 0.6367 GB, free: 15.2 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1662, allocations: 0 / 0.6367 GB, free: 15.2 MB / 494.1 MB Notification: Performance of Templates: time 0.002946/0.1691, allocations: 452.4 kB / 0.6371 GB, free: 14.76 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)