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.001066/0.001066, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.0009911/0.000991, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.355/1.355, 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.722/0.722, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 66.53 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1484, allocations: 76.18 MB / 0.6321 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001549/0.15, allocations: 0.5688 MB / 0.6327 GB, free: 3.906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006052/0.1506, allocations: 327.2 kB / 0.633 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.1506, allocations: 0 / 0.633 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.1507, allocations: 4 kB / 0.633 GB, free: 3.582 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.925e-06/0.1507, allocations: 0 / 0.633 GB, free: 3.582 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.1511, allocations: 111.6 kB / 0.6331 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.892e-05/0.1512, allocations: 7.984 kB / 0.6331 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.1512, allocations: 4 kB / 0.6331 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.374e-05/0.1512, allocations: 0 / 0.6331 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.1513, allocations: 7.938 kB / 0.6331 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1513, allocations: 0 / 0.6331 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.1517, allocations: 271.6 kB / 0.6334 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.1517, allocations: 0 / 0.6334 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.1517, allocations: 4 kB / 0.6334 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1519, allocations: 91.84 kB / 0.6335 GB, free: 3.094 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1519, allocations: 0 / 0.6335 GB, free: 3.094 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1519, allocations: 0 / 0.6335 GB, free: 3.094 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1519, allocations: 0 / 0.6335 GB, free: 3.094 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.0003226/0.1522, allocations: 331.6 kB / 0.6338 GB, free: 2.719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1523, allocations: 8.031 kB / 0.6338 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.1523, allocations: 0.9375 kB / 0.6338 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.1524, allocations: 168.3 kB / 0.6339 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.1524, allocations: 384 / 0.6339 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.1524, allocations: 384 / 0.6339 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.271e-05/0.1525, allocations: 34.2 kB / 0.634 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1525, allocations: 192 / 0.634 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1526, allocations: 11.92 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1526, allocations: 4 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.1526, allocations: 3.938 kB / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.1527, allocations: 141.7 kB / 0.6341 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.991e-05/0.1528, allocations: 18.61 kB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.1528, allocations: 8.859 kB / 0.6342 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.1532, allocations: 425.6 kB / 0.6346 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1533, allocations: 42.5 kB / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1533, allocations: 0 / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.1534, allocations: 41.62 kB / 0.6346 GB, free: 1.617 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1535, allocations: 51.41 kB / 0.6347 GB, free: 1.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.488e-05/0.1535, allocations: 89.86 kB / 0.6348 GB, free: 1.457 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1535, allocations: 25.7 kB / 0.6348 GB, free: 1.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.1536, allocations: 84.27 kB / 0.6349 GB, free: 1.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1536, allocations: 0 / 0.6349 GB, free: 1.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1536, allocations: 13.72 kB / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1538, allocations: 314.8 kB / 0.6352 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-06/0.1538, allocations: 0 / 0.6352 GB, free: 1.004 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.1538, allocations: 0 / 0.6352 GB, free: 1.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.1538, allocations: 16.78 kB / 0.6352 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1538, allocations: 4.062 kB / 0.6352 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.153e-05/0.1539, allocations: 33.7 kB / 0.6353 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1539, allocations: 4 kB / 0.6353 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1539, allocations: 0 / 0.6353 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1539, allocations: 3.938 kB / 0.6353 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.835e-05/0.154, allocations: 4 kB / 0.6353 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.154, allocations: 0 / 0.6353 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.154, allocations: 7.844 kB / 0.6353 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.154, allocations: 0 / 0.6353 GB, free: 0.9219 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 6.681e-05/0.1541, allocations: 117.9 kB / 0.6354 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.1541, allocations: 0 / 0.6354 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.817e-05/0.1542, allocations: 44.7 kB / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1542, allocations: 0 / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1542, allocations: 0 / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1542, allocations: 0 / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.627e-05/0.1543, allocations: 145.7 kB / 0.6356 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1543, allocations: 3.938 kB / 0.6356 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.1543, allocations: 7.938 kB / 0.6356 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1543, allocations: 4.031 kB / 0.6356 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1543, allocations: 3.938 kB / 0.6356 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1543, allocations: 0 / 0.6356 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1544, allocations: 0 / 0.6356 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.637e-05/0.1544, allocations: 69.05 kB / 0.6357 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1545, allocations: 77.11 kB / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.1545, allocations: 3.938 kB / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-06/0.1545, allocations: 0 / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.1545, allocations: 8.031 kB / 0.6357 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1545, allocations: 4 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of sorting global known variables: time 2.35e-05/0.1546, allocations: 75.28 kB / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1546, allocations: 0 / 0.6358 GB, free: 272 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001881/0.1548, allocations: 16 kB / 0.6358 GB, free: 256 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.0001646/0.1549, allocations: 111.2 kB / 0.6359 GB, free: 132 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.222e-05/0.155, allocations: 4 kB / 0.6359 GB, free: 128 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.155, allocations: 4.062 kB / 0.6359 GB, free: 124 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.155, allocations: 3.938 kB / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1551, allocations: 4 kB / 0.6359 GB, free: 116 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001682/0.1553, allocations: 89.05 kB / 0.636 GB, free: 0 / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1557, allocations: 0.669 MB / 0.6367 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.542e-05/0.1557, allocations: 0 / 0.6367 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.1557, allocations: 11.44 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1557, allocations: 0 / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of Templates: time 0.0023/0.158, allocations: 460.4 kB / 0.6371 GB, free: 14.84 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)