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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001831/0.001831, allocations: 245.6 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7783/0.7783, allocations: 138.4 MB / 402.2 MB, free: 0.5 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 462.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.879e-05, allocations: 3.078 kB / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001331/0.00136, allocations: 0.6073 MB / 463 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002035/0.001564, allocations: 51.28 kB / 463 MB, free: 492 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.394e-05/0.001577, allocations: 0 / 463 MB, free: 492 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.001591, allocations: 0 / 463 MB, free: 492 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.001597, allocations: 1.094 kB / 463 MB, free: 492 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.0018, allocations: 15.03 kB / 463 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.651e-05/0.001836, allocations: 1.781 kB / 463.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.001871, allocations: 7.281 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.001895, allocations: 1.344 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.125e-05/0.001916, allocations: 1.266 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.001926, allocations: 1.719 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.002013, allocations: 22.66 kB / 463.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.002025, allocations: 2.906 kB / 463.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.188e-06/0.002034, allocations: 1.109 kB / 463.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.002106, allocations: 17.33 kB / 463.1 MB, free: 472 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.002109, allocations: 1.766 kB / 463.1 MB, free: 472 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.00211, allocations: 1.344 kB / 463.1 MB, free: 472 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.002112, allocations: 0 / 463.1 MB, free: 472 kB / 410.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.000145/0.002257, allocations: 211.5 kB / 463.3 MB, free: 240 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.00229, allocations: 11.86 kB / 463.3 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.002449, allocations: 16.27 kB / 463.3 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.353e-05/0.002482, allocations: 109.2 kB / 463.4 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.002491, allocations: 1.469 kB / 463.5 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.002499, allocations: 3.062 kB / 463.5 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.041e-05/0.002579, allocations: 51.83 kB / 463.5 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.002586, allocations: 0.8438 kB / 463.5 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.002592, allocations: 3.281 kB / 463.5 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.002597, allocations: 384 / 463.5 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.294e-05/0.00261, allocations: 6.312 kB / 463.5 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.045e-05/0.002681, allocations: 60.33 kB / 463.6 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.677e-05/0.002717, allocations: 17.62 kB / 463.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.062e-05/0.002728, allocations: 9.156 kB / 463.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.002738, allocations: 0 / 463.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.002758, allocations: 38.08 kB / 463.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.002759, allocations: 0 / 463.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.22e-05/0.002841, allocations: 34.28 kB / 463.7 MB, free: 15.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.002868, allocations: 52.84 kB / 463.7 MB, free: 15.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.356e-05/0.002891, allocations: 90.38 kB / 463.8 MB, free: 15.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.002902, allocations: 27.41 kB / 463.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.002919, allocations: 80.14 kB / 463.9 MB, free: 15.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.002946, allocations: 5.219 kB / 463.9 MB, free: 15.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.002968, allocations: 12.53 kB / 463.9 MB, free: 15.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.003036, allocations: 322.1 kB / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.003046, allocations: 2.5 kB / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.003053, allocations: 2.219 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.00308, allocations: 14.98 kB / 464.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003081, allocations: 0 / 464.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.626e-05/0.003117, allocations: 33.75 kB / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.003128, allocations: 5.375 kB / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.003132, allocations: 0 / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.003143, allocations: 2.328 kB / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.676e-05/0.003189, allocations: 4.281 kB / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.003191, allocations: 1.438 kB / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.003203, allocations: 2.922 kB / 464.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.003207, allocations: 0 / 464.3 MB, free: 15.22 MB / 426.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.003254, allocations: 113.7 kB / 464.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-06/0.003259, allocations: 2.5 kB / 464.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.003276, allocations: 3.781 kB / 464.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.003277, allocations: 5.703 kB / 464.4 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.003279, allocations: 0.5938 kB / 464.4 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.003281, allocations: 2.016 kB / 464.4 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.305e-05/0.003324, allocations: 70.41 kB / 464.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.003325, allocations: 1.094 kB / 464.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.003337, allocations: 2.719 kB / 464.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.003338, allocations: 1.25 kB / 464.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-06/0.003342, allocations: 1.891 kB / 464.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.003344, allocations: 5.875 kB / 464.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.003345, allocations: 1.438 kB / 464.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.605e-05/0.003391, allocations: 60.28 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.003396, allocations: 6.078 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-06/0.003402, allocations: 0.5156 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.003411, allocations: 2.688 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-06/0.003418, allocations: 2.312 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.003421, allocations: 2.359 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.622e-06/0.003427, allocations: 5.609 kB / 464.6 MB, free: 14.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.003427, allocations: 3.938 kB / 464.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.484e-05/0.003512, allocations: 3.438 kB / 464.6 MB, free: 14.93 MB / 426.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.731e-05/0.003589, allocations: 74.95 kB / 464.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.673e-05/0.003636, allocations: 9.906 kB / 464.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.003638, allocations: 2.719 kB / 464.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.964e-06/0.003645, allocations: 7.703 kB / 464.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.326e-05/0.003688, allocations: 8.812 kB / 464.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001333/0.003822, allocations: 75.16 kB / 464.8 MB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.354e-05/0.003845, allocations: 53.25 kB / 464.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.003865, allocations: 4.094 kB / 464.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.003894, allocations: 54.02 kB / 464.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.003894, allocations: 0 / 464.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of Templates: time 0.001485/0.005379, allocations: 289.7 kB / 465.2 MB, free: 14.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.592143530957401]