Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7821/0.7821, allocations: 127.4 MB / 134.9 MB, free: 3.484 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009871/0.0009871, allocations: 176.4 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000807/0.000807, allocations: 100.8 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.225e-05, allocations: 8.5 kB / 0.5466 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.2593, allocations: 101.1 MB / 0.7203 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.2596, allocations: 75.95 kB / 0.7204 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001276/0.2609, allocations: 0.552 MB / 0.7209 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2609, allocations: 3.938 kB / 0.7209 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2609, allocations: 0 / 0.7209 GB, free: 5.227 MB / 0.4948 GB 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.000216/0.2611, allocations: 302.6 kB / 0.7212 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2612, allocations: 8.031 kB / 0.7212 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.2614, allocations: 23.92 kB / 0.7212 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.364e-05/0.2615, allocations: 163 kB / 0.7214 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2615, allocations: 3.984 kB / 0.7214 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2615, allocations: 0 / 0.7214 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.374e-05/0.2616, allocations: 4 kB / 0.7214 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.885e-05/0.2616, allocations: 29.7 kB / 0.7214 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.2616, allocations: 3.938 kB / 0.7214 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2617, allocations: 0 / 0.7214 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2617, allocations: 8 kB / 0.7214 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.2619, allocations: 130.2 kB / 0.7216 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.247e-05/0.2619, allocations: 18.56 kB / 0.7216 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.262, allocations: 8.953 kB / 0.7216 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.262, allocations: 0 / 0.7216 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.262, allocations: 30.56 kB / 0.7216 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.262, allocations: 0 / 0.7216 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.2622, allocations: 41.69 kB / 0.7217 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.2622, allocations: 55.34 kB / 0.7217 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.907e-05/0.2622, allocations: 85 kB / 0.7218 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2622, allocations: 25.7 kB / 0.7218 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.2623, allocations: 80.14 kB / 0.7219 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.2623, allocations: 4 kB / 0.7219 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.2623, allocations: 0 / 0.7219 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.2624, allocations: 310.8 kB / 0.7222 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.2624, allocations: 4.031 kB / 0.7222 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-06/0.2625, allocations: 0 / 0.7222 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.788e-05/0.2625, allocations: 7.953 kB / 0.7222 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2625, allocations: 0 / 0.7222 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.188e-05/0.2625, allocations: 33.69 kB / 0.7222 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2626, allocations: 5.875 kB / 0.7222 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2626, allocations: 0 / 0.7222 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2626, allocations: 4 kB / 0.7222 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.2627, allocations: 0 / 0.7222 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2627, allocations: 4.094 kB / 0.7222 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.2627, allocations: 7.984 kB / 0.7223 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2627, allocations: 0 / 0.7223 GB, free: 3.656 MB / 0.4948 GB 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 (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.16e-05/0.2628, allocations: 108.9 kB / 0.7224 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.2628, allocations: 4 kB / 0.7224 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.2629, allocations: 11.69 kB / 0.7224 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2629, allocations: 3.938 kB / 0.7224 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2629, allocations: 0 / 0.7224 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2629, allocations: 0 / 0.7224 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.082e-05/0.263, allocations: 130.2 kB / 0.7225 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.263, allocations: 0 / 0.7225 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.263, allocations: 4 kB / 0.7225 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.263, allocations: 3.953 kB / 0.7225 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.263, allocations: 0 / 0.7225 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2631, allocations: 0 / 0.7225 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2631, allocations: 0 / 0.7225 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.255e-05/0.2631, allocations: 61.12 kB / 0.7226 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.2632, allocations: 81.11 kB / 0.7226 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.2632, allocations: 7.953 kB / 0.7227 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.2632, allocations: 7.984 kB / 0.7227 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.2633, allocations: 0 / 0.7227 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2633, allocations: 0 / 0.7227 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.2633, allocations: 75.28 kB / 0.7227 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.453e-06/0.2633, allocations: 0 / 0.7227 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001626/0.2635, allocations: 3.938 kB / 0.7227 GB, free: 3.086 MB / 0.4948 GB 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 (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.0001143/0.2636, allocations: 103.3 kB / 0.7228 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.2637, allocations: 4 kB / 0.7228 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2637, allocations: 0 / 0.7228 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-06/0.2637, allocations: 0 / 0.7228 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.517e-05/0.2638, allocations: 3.984 kB / 0.7228 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.264, allocations: 44.08 kB / 0.7229 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2642, allocations: 0.6767 MB / 0.7235 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.563e-05/0.2643, allocations: 8.125 kB / 0.7236 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.2643, allocations: 11.38 kB / 0.7236 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.2643, allocations: 0 / 0.7236 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of Templates: time 0.001591/0.2659, allocations: 211.9 kB / 0.7238 GB, free: 1.969 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)