Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001538, allocations: 108.5 kB / 16.41 MB, free: 6.488 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.00154/0.00154, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7671/0.7671, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.36 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 76.19 MB / 0.6321 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001598/0.1593, allocations: 0.5689 MB / 0.6327 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.1601, allocations: 339.1 kB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.1601, allocations: 0 / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.1601, allocations: 0 / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.657e-05/0.1601, allocations: 8 kB / 0.633 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1606, allocations: 123.5 kB / 0.6331 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.1606, allocations: 11.92 kB / 0.6332 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.1607, allocations: 0 / 0.6332 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.1607, allocations: 4 kB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.1608, allocations: 4 kB / 0.6332 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1608, allocations: 4 kB / 0.6332 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.1612, allocations: 279.6 kB / 0.6334 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.1612, allocations: 7.984 kB / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.1612, allocations: 3.938 kB / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1614, allocations: 91.84 kB / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1614, allocations: 0 / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1614, allocations: 3.938 kB / 0.6335 GB, free: 2.898 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1614, allocations: 0 / 0.6335 GB, free: 2.898 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003522/0.1617, allocations: 343.5 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1618, allocations: 8.031 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1618, allocations: 0.9375 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.162, allocations: 176.2 kB / 0.634 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.162, allocations: 4.312 kB / 0.634 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.162, allocations: 4.359 kB / 0.634 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.1621, allocations: 34.27 kB / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1621, allocations: 192 / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1621, allocations: 3.938 kB / 0.6341 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1621, allocations: 4 kB / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.1621, allocations: 0 / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.1623, allocations: 157.7 kB / 0.6342 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.1624, allocations: 22.55 kB / 0.6343 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.1624, allocations: 12.91 kB / 0.6343 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/0.1631, allocations: 457.5 kB / 0.6347 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1631, allocations: 34.56 kB / 0.6347 GB, free: 1.406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1631, allocations: 0 / 0.6347 GB, free: 1.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004711/0.1636, allocations: 250.3 kB / 0.635 GB, free: 1.109 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1636, allocations: 51.62 kB / 0.635 GB, free: 1.047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.1637, allocations: 105.8 kB / 0.6351 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1637, allocations: 25.7 kB / 0.6352 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.1638, allocations: 84.12 kB / 0.6352 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1638, allocations: 15.81 kB / 0.6352 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.1638, allocations: 13.72 kB / 0.6353 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1639, allocations: 318.8 kB / 0.6356 GB, free: 472 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.1639, allocations: 4 kB / 0.6356 GB, free: 468 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.164, allocations: 21.84 kB / 0.6356 GB, free: 440 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.164, allocations: 29.64 kB / 0.6356 GB, free: 404 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.164, allocations: 0 / 0.6356 GB, free: 404 kB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.175e-05/0.1641, allocations: 53.64 kB / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1642, allocations: 11.94 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1642, allocations: 0 / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1642, allocations: 0 / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.1642, allocations: 16.05 kB / 0.6357 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1643, allocations: 3.938 kB / 0.6357 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.1643, allocations: 0 / 0.6357 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1643, allocations: 0 / 0.6357 GB, free: 312 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.648e-05/0.1644, allocations: 109.8 kB / 0.6358 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1644, allocations: 3.938 kB / 0.6358 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.1645, allocations: 61.11 kB / 0.6359 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1645, allocations: 7.938 kB / 0.6359 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1645, allocations: 4 kB / 0.6359 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1645, allocations: 0 / 0.6359 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1646, allocations: 153.7 kB / 0.636 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1647, allocations: 0 / 0.636 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.1647, allocations: 4 kB / 0.636 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1647, allocations: 3.938 kB / 0.636 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1647, allocations: 0 / 0.636 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1647, allocations: 0 / 0.636 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1647, allocations: 0 / 0.636 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1649, allocations: 85.03 kB / 0.6361 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.1649, allocations: 81.09 kB / 0.6362 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1649, allocations: 3.938 kB / 0.6362 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.165, allocations: 0 / 0.6362 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.165, allocations: 7.969 kB / 0.6362 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.165, allocations: 0 / 0.6362 GB, free: 15.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.044e-05/0.1651, allocations: 79.28 kB / 0.6363 GB, free: 15.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1651, allocations: 160 / 0.6363 GB, free: 15.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.1653, allocations: 31.98 kB / 0.6363 GB, free: 15.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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): 3 * 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.0001828/0.1655, allocations: 119.2 kB / 0.6364 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.553e-05/0.1655, allocations: 16 kB / 0.6364 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1656, allocations: 0 / 0.6364 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.1656, allocations: 11.94 kB / 0.6364 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1657, allocations: 7.922 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.166, allocations: 114 kB / 0.6366 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1662, allocations: 0.6729 MB / 0.6372 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.1662, allocations: 11.98 kB / 0.6372 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.1662, allocations: 15.36 kB / 0.6372 GB, free: 14.54 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1662, allocations: 4 kB / 0.6373 GB, free: 14.54 MB / 494.1 MB Notification: Performance of Templates: time 0.002827/0.1691, allocations: 0.8735 MB / 0.6381 GB, free: 13.67 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)