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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8058/0.8058, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 178.8 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 426.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 94.27 kB / 0.4945 GB, free: 8.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002226/0.002226, allocations: 269.3 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004681, allocations: 20 kB / 0.662 GB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3311, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4532, allocations: 106.4 MB / 0.8434 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4534, allocations: 75.94 kB / 0.8435 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001287/0.4547, allocations: 0.5422 MB / 0.844 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4548, allocations: 4 kB / 0.844 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4548, allocations: 0 / 0.844 GB, free: 3.148 MB / 0.5105 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.000246/0.455, allocations: 307.5 kB / 0.8443 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4551, allocations: 12.09 kB / 0.8443 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.4552, allocations: 16.91 kB / 0.8443 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.4554, allocations: 164.4 kB / 0.8445 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4554, allocations: 4.375 kB / 0.8445 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.4554, allocations: 384 / 0.8445 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4555, allocations: 38.19 kB / 0.8445 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4555, allocations: 4.172 kB / 0.8445 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4556, allocations: 3.938 kB / 0.8445 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4556, allocations: 4 kB / 0.8446 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.611e-05/0.4557, allocations: 11.92 kB / 0.8446 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.4558, allocations: 145.7 kB / 0.8447 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.4559, allocations: 26.59 kB / 0.8447 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.4559, allocations: 8.922 kB / 0.8447 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.456, allocations: 0 / 0.8447 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.456, allocations: 34.56 kB / 0.8448 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.456, allocations: 3.938 kB / 0.8448 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002107/0.4562, allocations: 53.55 kB / 0.8448 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4563, allocations: 51.41 kB / 0.8449 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.435e-05/0.4563, allocations: 89.86 kB / 0.845 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4563, allocations: 25.7 kB / 0.845 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.4564, allocations: 84.27 kB / 0.8451 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.4564, allocations: 4 kB / 0.8451 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4564, allocations: 0 / 0.8451 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.4565, allocations: 314.8 kB / 0.8454 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.4565, allocations: 3.984 kB / 0.8454 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.4566, allocations: 4 kB / 0.8454 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.775e-05/0.4567, allocations: 20.91 kB / 0.8454 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4567, allocations: 0 / 0.8454 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.4568, allocations: 45.61 kB / 0.8454 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4568, allocations: 4 kB / 0.8454 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4568, allocations: 4 kB / 0.8454 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4568, allocations: 7.922 kB / 0.8455 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.4569, allocations: 4 kB / 0.8455 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.4569, allocations: 0 / 0.8455 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.457, allocations: 4 kB / 0.8455 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.457, allocations: 8.031 kB / 0.8455 GB, free: 1.445 MB / 0.5105 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 () * 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 6.577e-05/0.457, allocations: 109.8 kB / 0.8456 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.4571, allocations: 7.906 kB / 0.8456 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.4571, allocations: 7.062 kB / 0.8456 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4571, allocations: 0 / 0.8456 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4571, allocations: 0 / 0.8456 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.4571, allocations: 3.938 kB / 0.8456 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.4572, allocations: 145.7 kB / 0.8457 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4572, allocations: 4 kB / 0.8457 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.4572, allocations: 4 kB / 0.8457 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4573, allocations: 0 / 0.8457 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.4573, allocations: 3.938 kB / 0.8457 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4573, allocations: 0 / 0.8457 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4573, allocations: 7.938 kB / 0.8457 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4574, allocations: 65.11 kB / 0.8458 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.4575, allocations: 81.14 kB / 0.8459 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.4575, allocations: 3.938 kB / 0.8459 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.4575, allocations: 4 kB / 0.8459 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.4575, allocations: 0 / 0.8459 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.4575, allocations: 0 / 0.8459 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.15e-05/0.4576, allocations: 75.28 kB / 0.846 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4576, allocations: 0 / 0.846 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001653/0.4577, allocations: 11.92 kB / 0.846 GB, free: 0.8281 MB / 0.5105 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 () * 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.0001045/0.4578, allocations: 99.25 kB / 0.8461 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.458, allocations: 19.92 kB / 0.8461 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.458, allocations: 0 / 0.8461 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.458, allocations: 4 kB / 0.8461 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.4581, allocations: 1.25 kB / 0.8461 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.4584, allocations: 78.88 kB / 0.8462 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4586, allocations: 0.677 MB / 0.8468 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.4586, allocations: 0 / 0.8468 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.4586, allocations: 7.438 kB / 0.8468 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.4586, allocations: 3.938 kB / 0.8468 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.001593/0.4602, allocations: 220.4 kB / 0.8471 GB, free: 15.67 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)