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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.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/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4824/0.4824, allocations: 86.28 MB / 103.8 MB, free: 14.56 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.418/1.418, allocations: 223.3 MB / 348.4 MB, free: 4.969 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.000876/0.0008763, allocations: 107.2 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 16 kB / 0.4901 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3273, allocations: 71.02 MB / 0.5595 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.4453, allocations: 100 MB / 0.6572 GB, free: 9.473 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4456, allocations: 79.94 kB / 0.6572 GB, free: 9.395 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.4569, allocations: 4.031 MB / 0.6612 GB, free: 5.359 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.457, allocations: 4 kB / 0.6612 GB, free: 5.355 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.457, allocations: 0 / 0.6612 GB, free: 5.355 MB / 474.7 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.0004459/0.4575, allocations: 341.4 kB / 0.6615 GB, free: 4.973 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.4575, allocations: 8.031 kB / 0.6615 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.4576, allocations: 4.938 kB / 0.6615 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.4578, allocations: 164.4 kB / 0.6617 GB, free: 4.762 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4578, allocations: 4.375 kB / 0.6617 GB, free: 4.758 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.4578, allocations: 384 / 0.6617 GB, free: 4.758 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.4579, allocations: 30.27 kB / 0.6617 GB, free: 4.723 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4579, allocations: 192 / 0.6617 GB, free: 4.723 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4579, allocations: 3.938 kB / 0.6617 GB, free: 4.719 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4579, allocations: 0 / 0.6617 GB, free: 4.719 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.458, allocations: 4 kB / 0.6617 GB, free: 4.715 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.4581, allocations: 149.7 kB / 0.6619 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/0.4582, allocations: 22.55 kB / 0.6619 GB, free: 4.488 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.4582, allocations: 4.859 kB / 0.6619 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000457/0.4587, allocations: 425.6 kB / 0.6623 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4587, allocations: 34.56 kB / 0.6623 GB, free: 3.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4587, allocations: 0 / 0.6623 GB, free: 3.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.000152/0.4589, allocations: 37.64 kB / 0.6624 GB, free: 3.887 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.4589, allocations: 55.34 kB / 0.6624 GB, free: 3.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.426e-05/0.459, allocations: 93.86 kB / 0.6625 GB, free: 3.719 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.459, allocations: 29.64 kB / 0.6625 GB, free: 3.684 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.459, allocations: 80.14 kB / 0.6626 GB, free: 3.602 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4591, allocations: 4.109 kB / 0.6626 GB, free: 3.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-06/0.4591, allocations: 4 kB / 0.6626 GB, free: 3.594 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4592, allocations: 310.8 kB / 0.6629 GB, free: 3.281 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.4592, allocations: 0 / 0.6629 GB, free: 3.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-06/0.4592, allocations: 4 kB / 0.6629 GB, free: 3.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.4593, allocations: 8.859 kB / 0.6629 GB, free: 3.266 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4593, allocations: 0 / 0.6629 GB, free: 3.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.704e-05/0.4593, allocations: 37.64 kB / 0.663 GB, free: 3.223 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4594, allocations: 4.094 kB / 0.663 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4594, allocations: 7.938 kB / 0.663 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4594, allocations: 3.938 kB / 0.663 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.501e-05/0.4595, allocations: 7.984 kB / 0.663 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4595, allocations: 3.984 kB / 0.663 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.4595, allocations: 3.906 kB / 0.663 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.4595, allocations: 3.984 kB / 0.663 GB, free: 3.188 MB / 474.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 (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 7.723e-05/0.4596, allocations: 105.8 kB / 0.6631 GB, free: 3.074 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.4596, allocations: 4 kB / 0.6631 GB, free: 3.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.71e-05/0.4597, allocations: 48.75 kB / 0.6631 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4597, allocations: 0 / 0.6631 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4597, allocations: 0 / 0.6631 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4597, allocations: 0 / 0.6631 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.4599, allocations: 149.7 kB / 0.6633 GB, free: 2.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4599, allocations: 0 / 0.6633 GB, free: 2.816 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.4599, allocations: 3.938 kB / 0.6633 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4599, allocations: 0 / 0.6633 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.4599, allocations: 3.938 kB / 0.6633 GB, free: 2.809 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4599, allocations: 0 / 0.6633 GB, free: 2.809 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4599, allocations: 8.031 kB / 0.6633 GB, free: 2.801 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.614e-05/0.46, allocations: 57.12 kB / 0.6634 GB, free: 2.727 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.4601, allocations: 77.11 kB / 0.6634 GB, free: 2.633 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4601, allocations: 7.938 kB / 0.6634 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.4601, allocations: 0 / 0.6634 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.4601, allocations: 0 / 0.6634 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.4601, allocations: 3.984 kB / 0.6634 GB, free: 2.621 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.4602, allocations: 83.25 kB / 0.6635 GB, free: 2.539 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4602, allocations: 0 / 0.6635 GB, free: 2.539 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.4604, allocations: 15.94 kB / 0.6635 GB, free: 2.523 MB / 474.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 (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.000169/0.4606, allocations: 111.2 kB / 0.6636 GB, free: 2.402 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.83e-05/0.4606, allocations: 11.94 kB / 0.6636 GB, free: 2.391 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4606, allocations: 0 / 0.6636 GB, free: 2.391 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.551e-06/0.4606, allocations: 0 / 0.6636 GB, free: 2.391 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.4608, allocations: 14.23 kB / 0.6637 GB, free: 2.379 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/0.461, allocations: 66.77 kB / 0.6637 GB, free: 2.285 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.4612, allocations: 0.6692 MB / 0.6644 GB, free: 1.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.815e-05/0.4612, allocations: 4 kB / 0.6644 GB, free: 1.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.4613, allocations: 7.438 kB / 0.6644 GB, free: 1.578 MB / 474.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4613, allocations: 0 / 0.6644 GB, free: 1.578 MB / 474.7 MB Notification: Performance of Templates: time 0.002138/0.4634, allocations: 428.6 kB / 0.6648 GB, free: 1.164 MB / 474.7 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)