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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4979/0.4979, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.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: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 107.9 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009651/0.0009652, allocations: 59.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3365, allocations: 70.05 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002798/0.3393, allocations: 1.487 MB / 0.5589 GB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.3401, allocations: 418.5 kB / 0.5593 GB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.3402, allocations: 0 / 0.5593 GB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.3402, allocations: 7.922 kB / 0.5593 GB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.3403, allocations: 0 / 0.5593 GB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.3408, allocations: 80.31 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.129e-05/0.3408, allocations: 27.92 kB / 0.5595 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.341, allocations: 0 / 0.5595 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.341, allocations: 11.92 kB / 0.5595 GB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.3411, allocations: 11.98 kB / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3411, allocations: 4 kB / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.3414, allocations: 271.6 kB / 0.5597 GB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.3414, allocations: 7.984 kB / 0.5597 GB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.3415, allocations: 10.97 kB / 0.5598 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3417, allocations: 107.8 kB / 0.5599 GB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3417, allocations: 0 / 0.5599 GB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3417, allocations: 0 / 0.5599 GB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3417, allocations: 0 / 0.5599 GB, free: 42.77 MB / 410.7 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.0004233/0.3421, allocations: 361.5 kB / 0.5602 GB, free: 42.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3422, allocations: 16.03 kB / 0.5602 GB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.3422, allocations: 4.844 kB / 0.5602 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.3423, allocations: 180.3 kB / 0.5604 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3424, allocations: 384 / 0.5604 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3424, allocations: 4.359 kB / 0.5604 GB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3426, allocations: 50.23 kB / 0.5604 GB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3426, allocations: 192 / 0.5604 GB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3426, allocations: 3.938 kB / 0.5604 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3426, allocations: 0 / 0.5604 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.3428, allocations: 35.97 kB / 0.5605 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.3431, allocations: 256.9 kB / 0.5607 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.3432, allocations: 38.5 kB / 0.5608 GB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.3433, allocations: 24.89 kB / 0.5608 GB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.3439, allocations: 457.5 kB / 0.5612 GB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3439, allocations: 30.56 kB / 0.5613 GB, free: 41.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3439, allocations: 4 kB / 0.5613 GB, free: 41.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003541/0.3443, allocations: 93.48 kB / 0.5613 GB, free: 40.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.3443, allocations: 51.41 kB / 0.5614 GB, free: 40.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.3444, allocations: 105.8 kB / 0.5615 GB, free: 40.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.3444, allocations: 29.64 kB / 0.5615 GB, free: 40.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.3444, allocations: 88.08 kB / 0.5616 GB, free: 40.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.3444, allocations: 12.02 kB / 0.5616 GB, free: 40.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3445, allocations: 13.72 kB / 0.5616 GB, free: 40.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.3445, allocations: 314.8 kB / 0.5619 GB, free: 40.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.3446, allocations: 15.98 kB / 0.562 GB, free: 40.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.3447, allocations: 19.97 kB / 0.562 GB, free: 40.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.3448, allocations: 40.89 kB / 0.562 GB, free: 40.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3448, allocations: 0 / 0.562 GB, free: 40.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.345, allocations: 73.53 kB / 0.5621 GB, free: 40.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3451, allocations: 4 kB / 0.5621 GB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3451, allocations: 0 / 0.5621 GB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3451, allocations: 0 / 0.5621 GB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.3452, allocations: 12 kB / 0.5621 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3452, allocations: 8.016 kB / 0.5621 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.3452, allocations: 4 kB / 0.5621 GB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3453, allocations: 0 / 0.5621 GB, free: 40.15 MB / 410.7 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 5.019e-05/0.3453, allocations: 113.8 kB / 0.5622 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.3454, allocations: 0 / 0.5622 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.3456, allocations: 81.11 kB / 0.5623 GB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3456, allocations: 4.031 kB / 0.5623 GB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3456, allocations: 0 / 0.5623 GB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3456, allocations: 0 / 0.5623 GB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3457, allocations: 161.9 kB / 0.5624 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.3457, allocations: 7.984 kB / 0.5625 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.3458, allocations: 4 kB / 0.5625 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3458, allocations: 0 / 0.5625 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3458, allocations: 0 / 0.5625 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3458, allocations: 4 kB / 0.5625 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3458, allocations: 0 / 0.5625 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.3462, allocations: 0.7317 MB / 0.5632 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.3463, allocations: 77.11 kB / 0.5633 GB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3463, allocations: 3.984 kB / 0.5633 GB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.3464, allocations: 8.031 kB / 0.5633 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3464, allocations: 7.984 kB / 0.5633 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3464, allocations: 3.938 kB / 0.5633 GB, free: 38.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.359e-05/0.3464, allocations: 83.28 kB / 0.5634 GB, free: 38.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3464, allocations: 3.938 kB / 0.5634 GB, free: 38.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003203/0.3468, allocations: 16 kB / 0.5634 GB, free: 38.71 MB / 410.7 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.000153/0.3469, allocations: 111.2 kB / 0.5635 GB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3471, allocations: 47.91 kB / 0.5635 GB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3471, allocations: 0 / 0.5635 GB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.3472, allocations: 23.91 kB / 0.5635 GB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3475, allocations: 4 kB / 0.5636 GB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.3478, allocations: 213.9 kB / 0.5638 GB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.348, allocations: 0.6811 MB / 0.5644 GB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.367e-05/0.348, allocations: 4 kB / 0.5644 GB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.348, allocations: 7.438 kB / 0.5644 GB, free: 37.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.348, allocations: 0 / 0.5644 GB, free: 37.55 MB / 410.7 MB Notification: Performance of Templates: time 0.002759/0.3508, allocations: 0.6604 MB / 0.5651 GB, free: 36.9 MB / 410.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)