Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7605/0.7605, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 176.9 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009286/0.0009286, allocations: 88.05 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 282.8 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.025e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4202, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.5555, allocations: 107.2 MB / 0.862 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.5557, allocations: 75.83 kB / 0.8621 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0013/0.5571, allocations: 0.5383 MB / 0.8626 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5571, allocations: 3.938 kB / 0.8626 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.5571, allocations: 0 / 0.8626 GB, free: 4.086 MB / 0.5261 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.0002688/0.5574, allocations: 310.5 kB / 0.8629 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5574, allocations: 20.03 kB / 0.863 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.5576, allocations: 11.97 kB / 0.863 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.497e-05/0.5577, allocations: 167.1 kB / 0.8631 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5577, allocations: 3.953 kB / 0.8631 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.5577, allocations: 0 / 0.8631 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.419e-05/0.5578, allocations: 0 / 0.8631 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.137e-05/0.5579, allocations: 29.7 kB / 0.8632 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5579, allocations: 0 / 0.8632 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5579, allocations: 11.98 kB / 0.8632 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.5579, allocations: 0 / 0.8632 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.558, allocations: 126.2 kB / 0.8633 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.607e-05/0.5581, allocations: 18.61 kB / 0.8633 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.5581, allocations: 12.84 kB / 0.8633 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.5581, allocations: 0 / 0.8633 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.5582, allocations: 34.52 kB / 0.8634 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.5582, allocations: 8.062 kB / 0.8634 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.5583, allocations: 29.69 kB / 0.8634 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.5583, allocations: 55.41 kB / 0.8634 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.66e-05/0.5583, allocations: 85 kB / 0.8635 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.5584, allocations: 25.7 kB / 0.8636 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/0.5584, allocations: 84.08 kB / 0.8636 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.5584, allocations: 0 / 0.8636 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.5584, allocations: 0 / 0.8636 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.5585, allocations: 314.9 kB / 0.8639 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.5585, allocations: 4 kB / 0.8639 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-06/0.5586, allocations: 4 kB / 0.8639 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.398e-05/0.5586, allocations: 0 / 0.8639 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5586, allocations: 0 / 0.8639 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.752e-05/0.5586, allocations: 37.69 kB / 0.864 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5587, allocations: 4 kB / 0.864 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5587, allocations: 0 / 0.864 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5587, allocations: 3.953 kB / 0.864 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.5588, allocations: 8.094 kB / 0.864 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5588, allocations: 7.922 kB / 0.864 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/0.5588, allocations: 0 / 0.864 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.5588, allocations: 0 / 0.864 GB, free: 2.5 MB / 0.5261 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 5.587e-05/0.5589, allocations: 105 kB / 0.8641 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.5589, allocations: 0 / 0.8641 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.5589, allocations: 3.75 kB / 0.8641 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5589, allocations: 0 / 0.8641 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.559, allocations: 7.891 kB / 0.8641 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.559, allocations: 4 kB / 0.8641 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.643e-05/0.559, allocations: 134.2 kB / 0.8642 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.559, allocations: 0 / 0.8642 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.5591, allocations: 0 / 0.8642 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.5591, allocations: 4 kB / 0.8642 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.5591, allocations: 0 / 0.8642 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.5591, allocations: 0 / 0.8642 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5591, allocations: 0 / 0.8642 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.988e-05/0.5592, allocations: 68.98 kB / 0.8643 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.5592, allocations: 81.11 kB / 0.8644 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.5593, allocations: 0 / 0.8644 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.5593, allocations: 3.984 kB / 0.8644 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.5593, allocations: 0 / 0.8644 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5593, allocations: 0 / 0.8644 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.5594, allocations: 79.28 kB / 0.8645 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5594, allocations: 0 / 0.8645 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001723/0.5595, allocations: 0 / 0.8645 GB, free: 1.938 MB / 0.5261 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.000118/0.5597, allocations: 103.2 kB / 0.8646 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.928e-05/0.5597, allocations: 7.938 kB / 0.8646 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5597, allocations: 0 / 0.8646 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.5598, allocations: 7.984 kB / 0.8646 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.333e-05/0.5599, allocations: 0 / 0.8646 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.56, allocations: 51.95 kB / 0.8646 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.5603, allocations: 0.6769 MB / 0.8653 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.5603, allocations: 4 kB / 0.8653 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.5603, allocations: 7.438 kB / 0.8653 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5603, allocations: 0 / 0.8653 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of Templates: time 0.00176/0.5621, allocations: 220.3 kB / 0.8655 GB, free: 0.8125 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)