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.001163/0.001163, allocations: 96.27 kB / 15.69 MB, free: 480 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.001585/0.001585, allocations: 178.3 kB / 16.57 MB, free: 6.859 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.324/1.324, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6692/0.6692, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 12 kB / 493.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.000604/0.138, allocations: 303 kB / 0.5571 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005661/0.1386, allocations: 301.5 kB / 0.5574 GB, free: 11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.074e-05/0.1386, allocations: 0 / 0.5574 GB, free: 11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.807e-06/0.1386, allocations: 3.938 kB / 0.5574 GB, free: 11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-06/0.1386, allocations: 0 / 0.5574 GB, free: 11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.139, allocations: 63.84 kB / 0.5575 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.234e-05/0.139, allocations: 0 / 0.5575 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.1391, allocations: 4 kB / 0.5575 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.327e-05/0.1391, allocations: 4 kB / 0.5575 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.451e-05/0.1391, allocations: 0 / 0.5575 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1391, allocations: 0 / 0.5575 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.1395, allocations: 259.6 kB / 0.5577 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.1395, allocations: 3.984 kB / 0.5577 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.1395, allocations: 25.7 kB / 0.5578 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1396, allocations: 63.89 kB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1397, allocations: 0 / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1397, allocations: 0 / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1397, allocations: 0 / 0.5578 GB, free: 10.58 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.0002451/0.1399, allocations: 331.4 kB / 0.5581 GB, free: 10.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.14, allocations: 12.02 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.14, allocations: 4 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.193e-05/0.1401, allocations: 159.1 kB / 0.5583 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1401, allocations: 3.938 kB / 0.5583 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1401, allocations: 0 / 0.5583 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.516e-05/0.1402, allocations: 33.69 kB / 0.5584 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1402, allocations: 3.953 kB / 0.5584 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.1402, allocations: 4 kB / 0.5584 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1402, allocations: 4 kB / 0.5584 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.1403, allocations: 3.984 kB / 0.5584 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.1404, allocations: 145.6 kB / 0.5585 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.943e-05/0.1404, allocations: 22.55 kB / 0.5585 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/0.1409, allocations: 429.6 kB / 0.5589 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1409, allocations: 30.56 kB / 0.559 GB, free: 9.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1409, allocations: 0 / 0.559 GB, free: 9.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.1411, allocations: 41.64 kB / 0.559 GB, free: 9.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1411, allocations: 51.41 kB / 0.5591 GB, free: 9.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.429e-05/0.1411, allocations: 93.8 kB / 0.5591 GB, free: 8.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1412, allocations: 29.7 kB / 0.5592 GB, free: 8.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.1412, allocations: 80.27 kB / 0.5592 GB, free: 8.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1412, allocations: 4 kB / 0.5593 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-06/0.1412, allocations: 0 / 0.5593 GB, free: 8.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.1413, allocations: 310.8 kB / 0.5595 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.1413, allocations: 3.938 kB / 0.5596 GB, free: 8.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.1413, allocations: 4 kB / 0.5596 GB, free: 8.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.45e-05/0.1414, allocations: 0 / 0.5596 GB, free: 8.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1414, allocations: 0 / 0.5596 GB, free: 8.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.56e-05/0.1414, allocations: 37.69 kB / 0.5596 GB, free: 8.469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1415, allocations: 14.12 kB / 0.5596 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1415, allocations: 0 / 0.5596 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1415, allocations: 0 / 0.5596 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.1415, allocations: 0 / 0.5596 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1415, allocations: 3.953 kB / 0.5596 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.1416, allocations: 4 kB / 0.5596 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1416, allocations: 4 kB / 0.5596 GB, free: 8.445 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 5.646e-05/0.1416, allocations: 105.8 kB / 0.5597 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.1417, allocations: 0 / 0.5597 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.674e-05/0.1418, allocations: 56.66 kB / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1418, allocations: 0 / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1418, allocations: 0 / 0.5598 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1418, allocations: 3.953 kB / 0.5598 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.47e-05/0.1419, allocations: 141.7 kB / 0.5599 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1419, allocations: 0 / 0.5599 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.1419, allocations: 7.984 kB / 0.5599 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1419, allocations: 3.938 kB / 0.5599 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.1419, allocations: 0 / 0.5599 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1419, allocations: 4.031 kB / 0.5599 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1419, allocations: 0 / 0.5599 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.103e-05/0.142, allocations: 65.03 kB / 0.56 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.142, allocations: 77.11 kB / 0.5601 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1421, allocations: 3.984 kB / 0.5601 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-06/0.1421, allocations: 0 / 0.5601 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.1421, allocations: 0 / 0.5601 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1421, allocations: 4 kB / 0.5601 GB, free: 7.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.634e-05/0.1421, allocations: 79.31 kB / 0.5601 GB, free: 7.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1421, allocations: 0 / 0.5601 GB, free: 7.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.1423, allocations: 12.28 kB / 0.5602 GB, free: 7.789 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.0001659/0.1425, allocations: 111.9 kB / 0.5603 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.1426, allocations: 4 kB / 0.5603 GB, free: 7.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1426, allocations: 3.938 kB / 0.5603 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.1426, allocations: 4 kB / 0.5603 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.962e-05/0.1427, allocations: 12.02 kB / 0.5603 GB, free: 7.645 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001589/0.1428, allocations: 74.77 kB / 0.5604 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1431, allocations: 0.677 MB / 0.561 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.687e-05/0.1431, allocations: 0 / 0.561 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.1431, allocations: 11.44 kB / 0.561 GB, free: 6.832 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1431, allocations: 0 / 0.561 GB, free: 6.832 MB / 430.1 MB Notification: Performance of Templates: time 0.002178/0.1453, allocations: 439.4 kB / 0.5614 GB, free: 6.406 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)