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.0008949/0.0008949, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4673/0.4673, allocations: 90.91 MB / 99.34 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 98.7 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.291e-05, allocations: 8 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 72.32 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5509, allocations: 101.4 MB / 0.6526 GB, free: 8.848 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.5512, allocations: 71.64 kB / 0.6527 GB, free: 8.809 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01199/0.5632, allocations: 4.34 MB / 0.6569 GB, free: 5.176 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5632, allocations: 4 kB / 0.6569 GB, free: 5.172 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.5632, allocations: 0 / 0.6569 GB, free: 5.172 MB / 458.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.0003764/0.5636, allocations: 374.3 kB / 0.6573 GB, free: 4.766 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5637, allocations: 8.031 kB / 0.6573 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.5637, allocations: 3.953 kB / 0.6573 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.5638, allocations: 167.1 kB / 0.6574 GB, free: 4.551 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.5639, allocations: 0 / 0.6574 GB, free: 4.551 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.5639, allocations: 4 kB / 0.6574 GB, free: 4.547 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.909e-05/0.5639, allocations: 15 kB / 0.6574 GB, free: 4.539 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.644e-05/0.564, allocations: 37.62 kB / 0.6575 GB, free: 4.496 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.564, allocations: 0 / 0.6575 GB, free: 4.496 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.564, allocations: 4 kB / 0.6575 GB, free: 4.492 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5641, allocations: 3.953 kB / 0.6575 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.5644, allocations: 251.8 kB / 0.6577 GB, free: 4.215 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.5645, allocations: 21.7 kB / 0.6577 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.5645, allocations: 11.48 kB / 0.6578 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.5651, allocations: 466.2 kB / 0.6582 GB, free: 3.629 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.5651, allocations: 33.75 kB / 0.6582 GB, free: 3.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5651, allocations: 0 / 0.6582 GB, free: 3.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001693/0.5653, allocations: 44.86 kB / 0.6583 GB, free: 3.543 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.5653, allocations: 55.36 kB / 0.6583 GB, free: 3.477 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.5654, allocations: 96.53 kB / 0.6584 GB, free: 3.379 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.5654, allocations: 29.64 kB / 0.6584 GB, free: 3.344 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.5655, allocations: 91.62 kB / 0.6585 GB, free: 3.254 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.5655, allocations: 7.844 kB / 0.6585 GB, free: 3.246 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.5655, allocations: 0 / 0.6585 GB, free: 3.246 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.5656, allocations: 310.8 kB / 0.6588 GB, free: 2.934 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.5656, allocations: 7.5 kB / 0.6588 GB, free: 2.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/0.5656, allocations: 4 kB / 0.6588 GB, free: 2.926 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.5657, allocations: 6.875 kB / 0.6589 GB, free: 2.922 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5657, allocations: 4.062 kB / 0.6589 GB, free: 2.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.343e-05/0.5658, allocations: 41 kB / 0.6589 GB, free: 2.875 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5658, allocations: 9.094 kB / 0.6589 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5658, allocations: 0 / 0.6589 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5658, allocations: 0 / 0.6589 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.5659, allocations: 11.98 kB / 0.6589 GB, free: 2.855 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.5659, allocations: 0 / 0.6589 GB, free: 2.855 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.566, allocations: 15.98 kB / 0.6589 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.566, allocations: 0 / 0.6589 GB, free: 2.84 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.5661, allocations: 105 kB / 0.659 GB, free: 2.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.5661, allocations: 7.938 kB / 0.659 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.5662, allocations: 48.41 kB / 0.6591 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5662, allocations: 0 / 0.6591 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5662, allocations: 3.938 kB / 0.6591 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5662, allocations: 4 kB / 0.6591 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.5664, allocations: 145.1 kB / 0.6592 GB, free: 2.496 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5664, allocations: 4.031 kB / 0.6592 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.5664, allocations: 11.98 kB / 0.6592 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.5664, allocations: 0 / 0.6592 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.5665, allocations: 0 / 0.6592 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5665, allocations: 0 / 0.6592 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5665, allocations: 4 kB / 0.6593 GB, free: 2.477 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.5666, allocations: 154.6 kB / 0.6594 GB, free: 2.316 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.5666, allocations: 77.11 kB / 0.6595 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.5667, allocations: 256 / 0.6595 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.5667, allocations: 11.98 kB / 0.6595 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.5668, allocations: 4 kB / 0.6595 GB, free: 2.207 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5668, allocations: 0 / 0.6595 GB, free: 2.207 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.071e-05/0.5668, allocations: 82.84 kB / 0.6596 GB, free: 2.129 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5668, allocations: 0 / 0.6596 GB, free: 2.129 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.567, allocations: 16 kB / 0.6596 GB, free: 2.113 MB / 458.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 () * 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 (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.0001578/0.5672, allocations: 123.2 kB / 0.6597 GB, free: 1.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.086e-05/0.5673, allocations: 10.94 kB / 0.6597 GB, free: 1.973 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5673, allocations: 4 kB / 0.6597 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.1e-05/0.5673, allocations: 11.38 kB / 0.6597 GB, free: 1.961 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.5675, allocations: 7.891 kB / 0.6597 GB, free: 1.953 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.5677, allocations: 62.81 kB / 0.6598 GB, free: 1.871 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.5679, allocations: 0.6808 MB / 0.6605 GB, free: 1.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.574e-05/0.5679, allocations: 4 kB / 0.6605 GB, free: 1.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.568, allocations: 14.61 kB / 0.6605 GB, free: 1.148 MB / 458.7 MB Notification: Performance of SimCode: time 1.483e-06/0.568, allocations: 0 / 0.6605 GB, free: 1.148 MB / 458.7 MB Notification: Performance of Templates: time 0.002583/0.5705, allocations: 0.5712 MB / 0.661 GB, free: 0.5859 MB / 458.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)