Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 112.9 kB / 17.08 MB, free: 5.988 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.00182/0.00182, allocations: 193.8 kB / 18.02 MB, free: 5.078 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7562/0.7562, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 70.72 kB / 0.5584 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1569, allocations: 76.18 MB / 0.6328 GB, free: 4.336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001531/0.1584, allocations: 0.6116 MB / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.1591, allocations: 351 kB / 0.6337 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.1591, allocations: 0 / 0.6337 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.1592, allocations: 0 / 0.6337 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.363e-05/0.1592, allocations: 3.938 kB / 0.6337 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1596, allocations: 121.6 kB / 0.6338 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.1597, allocations: 27.91 kB / 0.6339 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.1597, allocations: 7.984 kB / 0.6339 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.1598, allocations: 11.94 kB / 0.6339 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.1599, allocations: 11.98 kB / 0.6339 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1599, allocations: 0 / 0.6339 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.1602, allocations: 275.6 kB / 0.6342 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.1603, allocations: 15.97 kB / 0.6342 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1603, allocations: 11.94 kB / 0.6342 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1605, allocations: 103.8 kB / 0.6343 GB, free: 2.805 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1605, allocations: 0 / 0.6343 GB, free: 2.805 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1605, allocations: 0 / 0.6343 GB, free: 2.805 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1605, allocations: 0 / 0.6343 GB, free: 2.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004107/0.1609, allocations: 363.4 kB / 0.6346 GB, free: 2.398 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1609, allocations: 12.03 kB / 0.6346 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.161, allocations: 0.9375 kB / 0.6346 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1611, allocations: 172.4 kB / 0.6348 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1611, allocations: 384 / 0.6348 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1612, allocations: 8.375 kB / 0.6348 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1613, allocations: 58.12 kB / 0.6349 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1613, allocations: 192 / 0.6349 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1613, allocations: 3.938 kB / 0.6349 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1613, allocations: 0 / 0.6349 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.074e-05/0.1614, allocations: 19.98 kB / 0.6349 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1616, allocations: 169.6 kB / 0.6351 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1617, allocations: 58.56 kB / 0.6351 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.1617, allocations: 36.78 kB / 0.6351 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/0.1624, allocations: 453.4 kB / 0.6356 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1624, allocations: 38.56 kB / 0.6356 GB, free: 1.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1624, allocations: 0 / 0.6356 GB, free: 1.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001154/0.1636, allocations: 0.5876 MB / 0.6362 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1636, allocations: 51.41 kB / 0.6362 GB, free: 452 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.1637, allocations: 105.8 kB / 0.6363 GB, free: 336 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1637, allocations: 33.64 kB / 0.6364 GB, free: 296 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.1637, allocations: 80.14 kB / 0.6364 GB, free: 212 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.1638, allocations: 39.44 kB / 0.6365 GB, free: 172 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1638, allocations: 29.72 kB / 0.6365 GB, free: 136 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.164, allocations: 318.8 kB / 0.6368 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.164, allocations: 16 kB / 0.6368 GB, free: 15.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.1641, allocations: 23.98 kB / 0.6369 GB, free: 15.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1642, allocations: 63.53 kB / 0.6369 GB, free: 15.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1642, allocations: 0 / 0.6369 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000224/0.1645, allocations: 105.5 kB / 0.637 GB, free: 15.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1645, allocations: 4 kB / 0.637 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1645, allocations: 0 / 0.637 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1645, allocations: 0 / 0.637 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1647, allocations: 23.98 kB / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1647, allocations: 0 / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.1647, allocations: 4 kB / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1647, allocations: 4 kB / 0.637 GB, free: 15.57 MB / 494.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 (13): * Single equations (assignments): 13 * 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 9.417e-05/0.1648, allocations: 121.8 kB / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1649, allocations: 11.94 kB / 0.6372 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.1651, allocations: 113.4 kB / 0.6373 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1651, allocations: 0 / 0.6373 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1651, allocations: 0 / 0.6373 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1651, allocations: 8 kB / 0.6373 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.1654, allocations: 346.5 kB / 0.6376 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1654, allocations: 0 / 0.6376 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1656, allocations: 27.98 kB / 0.6376 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1656, allocations: 0 / 0.6376 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1656, allocations: 4 kB / 0.6377 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1656, allocations: 0 / 0.6377 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1656, allocations: 0 / 0.6377 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1658, allocations: 223.6 kB / 0.6379 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1659, allocations: 85.12 kB / 0.6379 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1659, allocations: 3.984 kB / 0.6379 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.166, allocations: 12.06 kB / 0.638 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.166, allocations: 4 kB / 0.638 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.166, allocations: 0 / 0.638 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.42e-05/0.1661, allocations: 87.27 kB / 0.638 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1661, allocations: 0 / 0.638 GB, free: 14.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1664, allocations: 36 kB / 0.6381 GB, free: 14.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002173/0.1666, allocations: 139.2 kB / 0.6382 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.1667, allocations: 71.89 kB / 0.6383 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1667, allocations: 4 kB / 0.6383 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.1668, allocations: 39.86 kB / 0.6383 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.167, allocations: 9.562 kB / 0.6383 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.1673, allocations: 195.8 kB / 0.6385 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1676, allocations: 0.6885 MB / 0.6392 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.1676, allocations: 15.44 kB / 0.6392 GB, free: 13.17 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1676, allocations: 0 / 0.6392 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Templates: time 0.00258/0.1702, allocations: 1.228 MB / 0.6404 GB, free: 11.94 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)