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.001176/0.001177, allocations: 114.2 kB / 17.09 MB, free: 6.012 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.001227/0.001227, allocations: 193.8 kB / 18.02 MB, free: 5.094 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7515/0.7515, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.11 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.15, allocations: 76.18 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001634/0.1517, allocations: 0.5611 MB / 0.6333 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006147/0.1523, allocations: 327.2 kB / 0.6336 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.426e-05/0.1523, allocations: 0 / 0.6336 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1524, allocations: 0 / 0.6336 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.1524, allocations: 0 / 0.6336 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.1528, allocations: 121.4 kB / 0.6338 GB, free: 3.355 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.561e-05/0.1529, allocations: 0 / 0.6338 GB, free: 3.355 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1529, allocations: 4 kB / 0.6338 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.248e-05/0.1529, allocations: 0 / 0.6338 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.929e-05/0.1529, allocations: 7.938 kB / 0.6338 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.153, allocations: 0 / 0.6338 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.1534, allocations: 271.6 kB / 0.634 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1534, allocations: 4 kB / 0.634 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.1534, allocations: 3.984 kB / 0.634 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1536, allocations: 83.86 kB / 0.6341 GB, free: 2.988 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1536, allocations: 0 / 0.6341 GB, free: 2.988 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1536, allocations: 0 / 0.6341 GB, free: 2.988 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1536, allocations: 0 / 0.6341 GB, free: 2.988 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.000309/0.1539, allocations: 335.6 kB / 0.6344 GB, free: 2.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1539, allocations: 8.031 kB / 0.6344 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.154, allocations: 4.938 kB / 0.6344 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.684e-05/0.1541, allocations: 160.4 kB / 0.6346 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1541, allocations: 384 / 0.6346 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.1541, allocations: 4.359 kB / 0.6346 GB, free: 2.398 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.1542, allocations: 38.27 kB / 0.6346 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1542, allocations: 8.109 kB / 0.6346 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.1542, allocations: 3.938 kB / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1543, allocations: 0 / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.1543, allocations: 0 / 0.6347 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.1544, allocations: 149.6 kB / 0.6348 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.04e-05/0.1545, allocations: 22.55 kB / 0.6348 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.1545, allocations: 8.859 kB / 0.6348 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005045/0.155, allocations: 425.6 kB / 0.6352 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.155, allocations: 30.56 kB / 0.6353 GB, free: 1.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1551, allocations: 0 / 0.6353 GB, free: 1.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.1552, allocations: 49.69 kB / 0.6353 GB, free: 1.504 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.1552, allocations: 55.41 kB / 0.6354 GB, free: 1.438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.444e-05/0.1553, allocations: 89.86 kB / 0.6354 GB, free: 1.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1553, allocations: 25.7 kB / 0.6355 GB, free: 1.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.1553, allocations: 80.14 kB / 0.6355 GB, free: 1.227 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1554, allocations: 0 / 0.6355 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.1554, allocations: 13.72 kB / 0.6356 GB, free: 1.207 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1555, allocations: 310.8 kB / 0.6359 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.1555, allocations: 0 / 0.6359 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.1555, allocations: 7.984 kB / 0.6359 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.1556, allocations: 16.8 kB / 0.6359 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1556, allocations: 0 / 0.6359 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.318e-05/0.1556, allocations: 33.7 kB / 0.6359 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1556, allocations: 4 kB / 0.6359 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1557, allocations: 0 / 0.6359 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1557, allocations: 3.938 kB / 0.6359 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.637e-05/0.1557, allocations: 4 kB / 0.6359 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1557, allocations: 8.078 kB / 0.6359 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.1557, allocations: 7.844 kB / 0.6359 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1558, allocations: 0 / 0.6359 GB, free: 0.8008 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 5.952e-05/0.1558, allocations: 109.8 kB / 0.636 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1558, allocations: 4 kB / 0.636 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.029e-05/0.1559, allocations: 44.7 kB / 0.6361 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1559, allocations: 0 / 0.6361 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1559, allocations: 0 / 0.6361 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.156, allocations: 4.031 kB / 0.6361 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.253e-05/0.1561, allocations: 145.7 kB / 0.6362 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1561, allocations: 4 kB / 0.6362 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.1561, allocations: 3.938 kB / 0.6362 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1561, allocations: 0 / 0.6362 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1561, allocations: 3.938 kB / 0.6362 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1561, allocations: 0 / 0.6362 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1561, allocations: 0 / 0.6362 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.796e-05/0.1562, allocations: 73.06 kB / 0.6363 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.1562, allocations: 77.11 kB / 0.6364 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.1563, allocations: 3.938 kB / 0.6364 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-06/0.1563, allocations: 4 kB / 0.6364 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.1563, allocations: 3.938 kB / 0.6364 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1563, allocations: 0 / 0.6364 GB, free: 232 kB / 478.1 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.1563, allocations: 75.28 kB / 0.6365 GB, free: 156 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1563, allocations: 0 / 0.6365 GB, free: 156 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.1565, allocations: 8 kB / 0.6365 GB, free: 148 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.0001737/0.1567, allocations: 123.2 kB / 0.6366 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.502e-05/0.1568, allocations: 8 kB / 0.6366 GB, free: 4 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1568, allocations: 0 / 0.6366 GB, free: 4 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.1568, allocations: 0 / 0.6366 GB, free: 4 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.1569, allocations: 4 kB / 0.6366 GB, free: 0 / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.1571, allocations: 111 kB / 0.6367 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1574, allocations: 0.669 MB / 0.6374 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.1574, allocations: 15.56 kB / 0.6374 GB, free: 15.15 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1574, allocations: 0 / 0.6374 GB, free: 15.15 MB / 494.1 MB Notification: Performance of Templates: time 0.001693/0.1591, allocations: 467.6 kB / 0.6378 GB, free: 14.69 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)