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.001471/0.001471, allocations: 108.9 kB / 17.03 MB, free: 6.094 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.001781/0.001781, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7245/0.7245, allocations: 115.1 MB / 406.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 63.84 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3302, allocations: 76.14 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001541/0.3318, allocations: 0.5686 MB / 0.5581 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005297/0.3323, allocations: 321.7 kB / 0.5584 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.3324, allocations: 0 / 0.5584 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.3324, allocations: 1.281 kB / 0.5584 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-06/0.3324, allocations: 0 / 0.5584 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.3328, allocations: 109.1 kB / 0.5585 GB, free: 36.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.234e-05/0.3328, allocations: 1.312 kB / 0.5585 GB, free: 36.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.3329, allocations: 2.125 kB / 0.5585 GB, free: 36.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.209e-05/0.3329, allocations: 0 / 0.5585 GB, free: 36.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.3329, allocations: 1.656 kB / 0.5585 GB, free: 36.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.3329, allocations: 5.047 kB / 0.5585 GB, free: 36.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.3333, allocations: 277.4 kB / 0.5588 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.567e-06/0.3333, allocations: 0 / 0.5588 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.3333, allocations: 6.719 kB / 0.5588 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3335, allocations: 83.39 kB / 0.5589 GB, free: 35.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3335, allocations: 0 / 0.5589 GB, free: 35.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3335, allocations: 1.438 kB / 0.5589 GB, free: 35.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.3335, allocations: 0.7812 kB / 0.5589 GB, free: 35.96 MB / 446.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.0002082/0.3337, allocations: 337.2 kB / 0.5592 GB, free: 35.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.3338, allocations: 8.906 kB / 0.5592 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.3338, allocations: 3.062 kB / 0.5592 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.719e-05/0.3339, allocations: 165.6 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-06/0.3339, allocations: 1.562 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3339, allocations: 2.797 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.334, allocations: 34.2 kB / 0.5594 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.334, allocations: 192 / 0.5594 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.334, allocations: 4.75 kB / 0.5594 GB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.334, allocations: 1.094 kB / 0.5594 GB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.334, allocations: 5.234 kB / 0.5594 GB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.4e-05/0.3341, allocations: 148.5 kB / 0.5596 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.843e-05/0.3342, allocations: 20.61 kB / 0.5596 GB, free: 35.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.3342, allocations: 14.7 kB / 0.5596 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003662/0.3346, allocations: 426.9 kB / 0.56 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.3346, allocations: 33.05 kB / 0.5601 GB, free: 34.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3346, allocations: 0 / 0.5601 GB, free: 34.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.3347, allocations: 37.38 kB / 0.5601 GB, free: 34.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.3347, allocations: 55.95 kB / 0.5601 GB, free: 34.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.348e-05/0.3348, allocations: 91.55 kB / 0.5602 GB, free: 34.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.3348, allocations: 25.7 kB / 0.5603 GB, free: 34.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-06/0.3348, allocations: 85.22 kB / 0.5603 GB, free: 34.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.3348, allocations: 5.969 kB / 0.5603 GB, free: 34.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.3348, allocations: 12.48 kB / 0.5604 GB, free: 34.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.3349, allocations: 313.2 kB / 0.5607 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-06/0.3349, allocations: 0.7031 kB / 0.5607 GB, free: 33.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.3349, allocations: 2.875 kB / 0.5607 GB, free: 33.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.894e-05/0.3349, allocations: 8.594 kB / 0.5607 GB, free: 33.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3349, allocations: 0.5938 kB / 0.5607 GB, free: 33.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.57e-05/0.335, allocations: 38.31 kB / 0.5607 GB, free: 33.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.335, allocations: 8.734 kB / 0.5607 GB, free: 33.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.335, allocations: 3.984 kB / 0.5607 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.335, allocations: 3.938 kB / 0.5607 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.339e-05/0.3351, allocations: 3.375 kB / 0.5607 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.3351, allocations: 5.438 kB / 0.5607 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-06/0.3351, allocations: 0 / 0.5607 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3351, allocations: 3.828 kB / 0.5607 GB, free: 33.91 MB / 446.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 3.365e-05/0.3351, allocations: 107.5 kB / 0.5608 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.3352, allocations: 0.7969 kB / 0.5608 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.809e-05/0.3352, allocations: 44.64 kB / 0.5609 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3353, allocations: 1.75 kB / 0.5609 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3353, allocations: 1.875 kB / 0.5609 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3353, allocations: 0 / 0.5609 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.072e-05/0.3353, allocations: 146.8 kB / 0.561 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3353, allocations: 1.25 kB / 0.561 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.3353, allocations: 2.094 kB / 0.561 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3353, allocations: 1.406 kB / 0.561 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.3354, allocations: 4.688 kB / 0.561 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3354, allocations: 3.938 kB / 0.561 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3354, allocations: 1.438 kB / 0.561 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.004e-05/0.3354, allocations: 66.03 kB / 0.5611 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.3355, allocations: 81.36 kB / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.3355, allocations: 6.047 kB / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-06/0.3355, allocations: 0 / 0.5612 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.3355, allocations: 9.906 kB / 0.5612 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.3355, allocations: 0 / 0.5612 GB, free: 33.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.918e-06/0.3355, allocations: 76.19 kB / 0.5613 GB, free: 33.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3355, allocations: 1.188 kB / 0.5613 GB, free: 33.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001913/0.3357, allocations: 9.594 kB / 0.5613 GB, free: 33.3 MB / 446.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.0001239/0.3358, allocations: 118.9 kB / 0.5614 GB, free: 33.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.836e-05/0.3359, allocations: 7.141 kB / 0.5614 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3359, allocations: 0.9688 kB / 0.5614 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.3359, allocations: 3.188 kB / 0.5614 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.3361, allocations: 6.75 kB / 0.5614 GB, free: 33.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000119/0.3362, allocations: 73.48 kB / 0.5615 GB, free: 33.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.292e-05/0.3363, allocations: 0.6714 MB / 0.5621 GB, free: 32.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.425e-05/0.3363, allocations: 2.094 kB / 0.5621 GB, free: 32.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.054e-05/0.3363, allocations: 9.406 kB / 0.5621 GB, free: 32.41 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3363, allocations: 1.594 kB / 0.5621 GB, free: 32.41 MB / 446.1 MB Notification: Performance of Templates: time 0.002173/0.3385, allocations: 455.1 kB / 0.5626 GB, free: 32.37 MB / 446.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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)