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.0009242/0.0009242, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001389/0.001389, allocations: 173.3 kB / 23.03 MB, free: 1.539 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 0.9468/0.9468, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001662/0.001662, allocations: 233.6 kB / 260.2 MB, free: 12.83 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.8124/0.8124, allocations: 138.4 MB / 455.2 MB, free: 29.94 MB / 410.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 2.023e-06/2.023e-06, allocations: 0 / 0.5551 GB, free: 56 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.221e-05, allocations: 5.547 kB / 0.5552 GB, free: 52 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.002201/0.002233, allocations: 0.601 MB / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.002531, allocations: 43.86 kB / 0.5558 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.002551, allocations: 3.938 kB / 0.5558 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.002579, allocations: 0 / 0.5558 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.228e-06/0.002589, allocations: 0 / 0.5558 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.002915, allocations: 15.92 kB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.00297, allocations: 11.98 kB / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.003009, allocations: 0 / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.003036, allocations: 0 / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.003066, allocations: 7.938 kB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.003082, allocations: 0 / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.003201, allocations: 19.97 kB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.003215, allocations: 0 / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.003233, allocations: 4 kB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.003349, allocations: 15.92 kB / 0.5559 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003351, allocations: 0 / 0.5559 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003352, allocations: 0 / 0.5559 GB, free: 15.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.00336, allocations: 7.984 kB / 0.5559 GB, free: 15.32 MB / 490.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.000357/0.003717, allocations: 340.4 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.003768, allocations: 9.938 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.004026, allocations: 16.91 kB / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/0.004106, allocations: 108.6 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.00412, allocations: 384 / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.004131, allocations: 4.375 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.004278, allocations: 42.95 kB / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004287, allocations: 4.188 kB / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.004299, allocations: 8.359 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.004311, allocations: 4.375 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.004335, allocations: 7.875 kB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.004467, allocations: 108.6 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.004522, allocations: 27.05 kB / 0.5565 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.004547, allocations: 15.69 kB / 0.5565 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.004564, allocations: 4.094 kB / 0.5565 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.004588, allocations: 33.39 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.00459, allocations: 4 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.004748, allocations: 33.64 kB / 0.5566 GB, free: 14.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.004786, allocations: 55.41 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.95e-05/0.004836, allocations: 142.2 kB / 0.5568 GB, free: 14.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.004848, allocations: 25.7 kB / 0.5568 GB, free: 14.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.005029, allocations: 126.9 kB / 0.5569 GB, free: 14.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.005065, allocations: 12.25 kB / 0.557 GB, free: 14.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.005102, allocations: 23.38 kB / 0.557 GB, free: 14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.005238, allocations: 496.1 kB / 0.5574 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.005257, allocations: 0 / 0.5574 GB, free: 13.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.005267, allocations: 4.125 kB / 0.5574 GB, free: 13.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.00531, allocations: 11.69 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.005312, allocations: 0 / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.092e-05/0.005393, allocations: 45.58 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.005408, allocations: 4 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005414, allocations: 0 / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.005429, allocations: 0 / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.005507, allocations: 4 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.005513, allocations: 4.094 kB / 0.5575 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.005535, allocations: 7.938 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.005542, allocations: 0 / 0.5575 GB, free: 13.41 MB / 490.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 8.057e-05/0.005623, allocations: 160.6 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.005631, allocations: 0 / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.005659, allocations: 3 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005661, allocations: 0 / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.005666, allocations: 0 / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.005668, allocations: 0 / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.221e-05/0.005741, allocations: 112.6 kB / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.005743, allocations: 4 kB / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.005775, allocations: 3.984 kB / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.005779, allocations: 4 kB / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005785, allocations: 0 / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.005788, allocations: 0 / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.005789, allocations: 0 / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.00589, allocations: 80.31 kB / 0.5579 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.005894, allocations: 0 / 0.5579 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.005906, allocations: 0 / 0.5579 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.005926, allocations: 0 / 0.5579 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.005943, allocations: 12.03 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.005946, allocations: 0 / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.005981, allocations: 119.2 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005981, allocations: 0 / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.006194, allocations: 3.938 kB / 0.558 GB, free: 12.86 MB / 490.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 0.0001066/0.006301, allocations: 99.19 kB / 0.5581 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.006401, allocations: 19.61 kB / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.006403, allocations: 0 / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.006417, allocations: 15.75 kB / 0.5581 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.006567, allocations: 4 kB / 0.5581 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.00681, allocations: 87.94 kB / 0.5582 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.334e-05/0.006843, allocations: 51.36 kB / 0.5583 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.006869, allocations: 0 / 0.5583 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.006897, allocations: 8.562 kB / 0.5583 GB, free: 12.51 MB / 490.7 MB Notification: Performance of SimCode: time 9.21e-07/0.006898, allocations: 8 kB / 0.5583 GB, free: 12.5 MB / 490.7 MB Notification: Performance of Templates: time 0.002072/0.008969, allocations: 271.6 kB / 0.5585 GB, free: 12.25 MB / 490.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.7134634042158723]