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.0008743/0.0008744, allocations: 92.62 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009301/0.0009302, allocations: 167.7 kB / 16.58 MB, free: 5.656 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.349/1.349, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7128/0.7128, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003126, allocations: 12.2 kB / 495.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 77.53 MB / 0.5593 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006525/0.1386, allocations: 303.8 kB / 0.5596 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005938/0.1392, allocations: 297.8 kB / 0.5599 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.167e-05/0.1392, allocations: 0 / 0.5599 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.1392, allocations: 0 / 0.5599 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.1393, allocations: 4 kB / 0.5599 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.1396, allocations: 71.84 kB / 0.56 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.501e-05/0.1397, allocations: 4 kB / 0.56 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1397, allocations: 0 / 0.56 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.193e-05/0.1397, allocations: 3.938 kB / 0.56 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.1398, allocations: 0 / 0.56 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.617e-06/0.1398, allocations: 0 / 0.56 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.1402, allocations: 275.6 kB / 0.5603 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.1402, allocations: 0 / 0.5603 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.1402, allocations: 25.7 kB / 0.5603 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1403, allocations: 55.91 kB / 0.5603 GB, free: 8.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1403, allocations: 0 / 0.5603 GB, free: 8.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1404, allocations: 4 kB / 0.5603 GB, free: 8.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1404, allocations: 0 / 0.5603 GB, free: 8.348 MB / 430.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.0002636/0.1406, allocations: 331.4 kB / 0.5607 GB, free: 7.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1407, allocations: 8.031 kB / 0.5607 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.1407, allocations: 0 / 0.5607 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.1408, allocations: 167 kB / 0.5608 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1408, allocations: 0 / 0.5608 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1409, allocations: 0 / 0.5608 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.1409, allocations: 33.69 kB / 0.5609 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.141, allocations: 3.953 kB / 0.5609 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.141, allocations: 0 / 0.5609 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.141, allocations: 4 kB / 0.5609 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.141, allocations: 0 / 0.5609 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1411, allocations: 145.7 kB / 0.561 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.416e-05/0.1412, allocations: 22.55 kB / 0.561 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.1412, allocations: 4.859 kB / 0.561 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/0.1417, allocations: 429.6 kB / 0.5614 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1417, allocations: 30.56 kB / 0.5615 GB, free: 6.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1417, allocations: 0 / 0.5615 GB, free: 6.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000146/0.1419, allocations: 37.64 kB / 0.5615 GB, free: 6.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.1419, allocations: 59.47 kB / 0.5616 GB, free: 6.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.965e-05/0.142, allocations: 93.86 kB / 0.5617 GB, free: 6.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.142, allocations: 29.64 kB / 0.5617 GB, free: 6.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.142, allocations: 80.14 kB / 0.5618 GB, free: 6.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.142, allocations: 4 kB / 0.5618 GB, free: 6.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.1421, allocations: 0 / 0.5618 GB, free: 6.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.1422, allocations: 310.8 kB / 0.5621 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.1422, allocations: 0 / 0.5621 GB, free: 6.289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.1422, allocations: 4 kB / 0.5621 GB, free: 6.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.713e-05/0.1422, allocations: 4.062 kB / 0.5621 GB, free: 6.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1422, allocations: 0 / 0.5621 GB, free: 6.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.594e-05/0.1423, allocations: 37.69 kB / 0.5621 GB, free: 6.238 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1423, allocations: 4 kB / 0.5621 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1423, allocations: 0 / 0.5621 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1423, allocations: 0 / 0.5621 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.799e-05/0.1424, allocations: 4 kB / 0.5621 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1424, allocations: 3.953 kB / 0.5621 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/0.1424, allocations: 7.844 kB / 0.5621 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1424, allocations: 0 / 0.5621 GB, free: 6.219 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/0.1425, allocations: 117.8 kB / 0.5622 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.1425, allocations: 3.984 kB / 0.5622 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.641e-05/0.1426, allocations: 36.83 kB / 0.5623 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1427, allocations: 0 / 0.5623 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1427, allocations: 0 / 0.5623 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1427, allocations: 3.953 kB / 0.5623 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.643e-05/0.1428, allocations: 149.7 kB / 0.5624 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1428, allocations: 4.031 kB / 0.5624 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.1428, allocations: 4 kB / 0.5624 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1428, allocations: 0 / 0.5624 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1428, allocations: 0 / 0.5624 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1428, allocations: 0 / 0.5624 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1428, allocations: 4 kB / 0.5624 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.1429, allocations: 69.02 kB / 0.5625 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.143, allocations: 81.09 kB / 0.5626 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.143, allocations: 4.031 kB / 0.5626 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.143, allocations: 0 / 0.5626 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.143, allocations: 7.938 kB / 0.5626 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.143, allocations: 0 / 0.5626 GB, free: 5.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.629e-05/0.1431, allocations: 75.28 kB / 0.5627 GB, free: 5.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 0.5627 GB, free: 5.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002021/0.1433, allocations: 16.28 kB / 0.5627 GB, free: 5.555 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001898/0.1435, allocations: 119.1 kB / 0.5628 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.78e-05/0.1435, allocations: 8 kB / 0.5628 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1435, allocations: 0 / 0.5628 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-06/0.1436, allocations: 3.938 kB / 0.5628 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1437, allocations: 0 / 0.5628 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.1439, allocations: 78.75 kB / 0.5629 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1441, allocations: 0.6692 MB / 0.5635 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.845e-05/0.1442, allocations: 0 / 0.5635 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.1442, allocations: 11.56 kB / 0.5635 GB, free: 4.605 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1442, allocations: 4 kB / 0.5635 GB, free: 4.602 MB / 430.1 MB Notification: Performance of Templates: time 0.002439/0.1466, allocations: 445.8 kB / 0.564 GB, free: 4.168 MB / 430.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)