Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 108.9 kB / 17.02 MB, free: 6.121 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.0009878/0.0009878, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6841/0.6841, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3563, allocations: 76.15 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002389/0.3587, allocations: 1.428 MB / 0.559 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.3596, allocations: 381.1 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.3596, allocations: 0.625 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.3596, allocations: 0 / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.3597, allocations: 5.812 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.3602, allocations: 115.7 kB / 0.5594 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.3603, allocations: 30.5 kB / 0.5595 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3604, allocations: 4.094 kB / 0.5595 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.3605, allocations: 8.156 kB / 0.5595 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.3605, allocations: 16.08 kB / 0.5595 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3605, allocations: 2.438 kB / 0.5595 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.3609, allocations: 279.2 kB / 0.5598 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.361, allocations: 10.78 kB / 0.5598 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.361, allocations: 12.95 kB / 0.5598 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3612, allocations: 103.6 kB / 0.5599 GB, free: 35.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3613, allocations: 0 / 0.5599 GB, free: 35.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3613, allocations: 0 / 0.5599 GB, free: 35.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3613, allocations: 0 / 0.5599 GB, free: 35.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004195/0.3617, allocations: 373.8 kB / 0.5602 GB, free: 34.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3617, allocations: 12.97 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.3618, allocations: 4.297 kB / 0.5603 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.701e-05/0.3619, allocations: 170.8 kB / 0.5604 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3619, allocations: 2.656 kB / 0.5604 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.3619, allocations: 1.406 kB / 0.5604 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3621, allocations: 51.09 kB / 0.5605 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3621, allocations: 192 / 0.5605 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3621, allocations: 4.828 kB / 0.5605 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3622, allocations: 3 kB / 0.5605 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3623, allocations: 37.66 kB / 0.5605 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.3626, allocations: 244.6 kB / 0.5607 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3628, allocations: 43.2 kB / 0.5608 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.3629, allocations: 25.39 kB / 0.5608 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/0.3635, allocations: 468.8 kB / 0.5613 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.3635, allocations: 31.66 kB / 0.5613 GB, free: 33.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3635, allocations: 1.188 kB / 0.5613 GB, free: 33.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003758/0.3639, allocations: 88 kB / 0.5614 GB, free: 33.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3639, allocations: 52.81 kB / 0.5614 GB, free: 33.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.364, allocations: 104 kB / 0.5615 GB, free: 33.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.364, allocations: 25.7 kB / 0.5615 GB, free: 33.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.3641, allocations: 83.44 kB / 0.5616 GB, free: 33.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.3641, allocations: 12.03 kB / 0.5616 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.3641, allocations: 13.11 kB / 0.5617 GB, free: 33.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.3642, allocations: 312.3 kB / 0.5619 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.3643, allocations: 18.83 kB / 0.562 GB, free: 33.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.3644, allocations: 15.25 kB / 0.562 GB, free: 33.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3645, allocations: 47.97 kB / 0.562 GB, free: 33.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3645, allocations: 0.7188 kB / 0.562 GB, free: 33.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.3647, allocations: 69.14 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3647, allocations: 6.312 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3648, allocations: 0.75 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3648, allocations: 1.25 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.3649, allocations: 9.062 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3649, allocations: 0.5 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.3649, allocations: 16.58 kB / 0.5621 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.365, allocations: 4.656 kB / 0.5621 GB, free: 33.11 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 (2): * Single equations (assignments): 2 * 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.489e-05/0.365, allocations: 117.1 kB / 0.5622 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.3651, allocations: 3.625 kB / 0.5622 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.3653, allocations: 73.2 kB / 0.5623 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3653, allocations: 1.797 kB / 0.5623 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3653, allocations: 0.9688 kB / 0.5623 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3653, allocations: 3.938 kB / 0.5623 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.3655, allocations: 167.1 kB / 0.5625 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3655, allocations: 0 / 0.5625 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.3656, allocations: 9.188 kB / 0.5625 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3656, allocations: 2.531 kB / 0.5625 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3656, allocations: 0 / 0.5625 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3656, allocations: 1.531 kB / 0.5625 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3656, allocations: 2.078 kB / 0.5625 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3659, allocations: 168.1 kB / 0.5627 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.3659, allocations: 87.3 kB / 0.5627 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3659, allocations: 2 kB / 0.5627 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.366, allocations: 6.5 kB / 0.5627 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.366, allocations: 6.359 kB / 0.5628 GB, free: 32.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.366, allocations: 0 / 0.5628 GB, free: 32.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.3661, allocations: 87.52 kB / 0.5628 GB, free: 32.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3661, allocations: 0 / 0.5628 GB, free: 32.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3663, allocations: 13.14 kB / 0.5628 GB, free: 32.41 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 (2): * Single equations (assignments): 2 * 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.0001883/0.3665, allocations: 110.5 kB / 0.563 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3668, allocations: 37.64 kB / 0.563 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3668, allocations: 0 / 0.563 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.3669, allocations: 25.61 kB / 0.563 GB, free: 32.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.3672, allocations: 12.31 kB / 0.563 GB, free: 32.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.3675, allocations: 107.4 kB / 0.5631 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.3677, allocations: 0.6775 MB / 0.5638 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.509e-05/0.3677, allocations: 4.094 kB / 0.5638 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.3677, allocations: 12.84 kB / 0.5638 GB, free: 31.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3677, allocations: 0.875 kB / 0.5638 GB, free: 31.5 MB / 446.1 MB Notification: Performance of Templates: time 0.003067/0.3708, allocations: 0.7058 MB / 0.5645 GB, free: 31.45 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)