Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.001007/0.001007, allocations: 73.97 kB / 20.66 MB, free: 3.84 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.001056/0.001056, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.9665/0.9665, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.002299/0.002299, allocations: 233.5 kB / 261.3 MB, free: 12.67 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.8027/0.8027, allocations: 138.4 MB / 456.3 MB, free: 1.402 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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5563 GB, free: 276 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.517e-05, allocations: 2.312 kB / 0.5563 GB, free: 272 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.0046/0.004626, allocations: 0.6195 MB / 0.5569 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.524e-05/0.004671, allocations: 4 kB / 0.5569 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.004692, allocations: 0 / 0.5569 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.004719, allocations: 0 / 0.5569 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.004726, allocations: 0 / 0.5569 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.655e-05/0.004762, allocations: 0 / 0.5569 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.403e-05/0.004816, allocations: 3.938 kB / 0.5569 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.004861, allocations: 4 kB / 0.5569 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.00489, allocations: 0 / 0.5569 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.169e-05/0.004912, allocations: 0 / 0.5569 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.004925, allocations: 0 / 0.5569 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.068e-06/0.004929, allocations: 4 kB / 0.557 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.004943, allocations: 3.984 kB / 0.557 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.004957, allocations: 4 kB / 0.557 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.373e-05/0.005011, allocations: 3.984 kB / 0.557 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005013, allocations: 7.938 kB / 0.557 GB, free: 15.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005014, allocations: 0 / 0.557 GB, free: 15.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005019, allocations: 0 / 0.557 GB, free: 15.61 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.0002474/0.005266, allocations: 332.4 kB / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.005303, allocations: 8.75 kB / 0.5573 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.005324, allocations: 0.9375 kB / 0.5573 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.633e-05/0.005391, allocations: 104.6 kB / 0.5574 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.005402, allocations: 8.375 kB / 0.5574 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-06/0.005407, allocations: 384 / 0.5574 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.311e-05/0.00547, allocations: 30.25 kB / 0.5574 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005477, allocations: 192 / 0.5574 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-06/0.005483, allocations: 384 / 0.5574 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005488, allocations: 384 / 0.5574 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.004e-05/0.005498, allocations: 11.88 kB / 0.5574 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.954e-05/0.005588, allocations: 93.27 kB / 0.5575 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.739e-05/0.005625, allocations: 27.09 kB / 0.5576 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.005642, allocations: 11.69 kB / 0.5576 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.005648, allocations: 0 / 0.5576 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.005672, allocations: 37.45 kB / 0.5576 GB, free: 14.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.005672, allocations: 0 / 0.5576 GB, free: 14.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.441e-05/0.005767, allocations: 37.62 kB / 0.5576 GB, free: 14.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.005797, allocations: 51.41 kB / 0.5577 GB, free: 14.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.211e-05/0.005839, allocations: 142.2 kB / 0.5578 GB, free: 14.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.005849, allocations: 25.7 kB / 0.5579 GB, free: 14.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.005881, allocations: 126.9 kB / 0.558 GB, free: 14.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.005912, allocations: 8.234 kB / 0.558 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.005941, allocations: 31.48 kB / 0.558 GB, free: 14.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.006077, allocations: 496.1 kB / 0.5585 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.006085, allocations: 0 / 0.5585 GB, free: 13.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.006092, allocations: 4 kB / 0.5585 GB, free: 13.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.006116, allocations: 11.62 kB / 0.5585 GB, free: 13.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006118, allocations: 0 / 0.5585 GB, free: 13.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.036e-05/0.006168, allocations: 37.69 kB / 0.5585 GB, free: 13.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006181, allocations: 6.969 kB / 0.5585 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.006185, allocations: 0 / 0.5585 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.006193, allocations: 96 / 0.5585 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.832e-05/0.006232, allocations: 7.938 kB / 0.5586 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.006235, allocations: 4 kB / 0.5586 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-06/0.006244, allocations: 0 / 0.5586 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-06/0.006247, allocations: 0 / 0.5586 GB, free: 13.8 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 6.25e-05/0.00631, allocations: 156.5 kB / 0.5587 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.006315, allocations: 0 / 0.5587 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.462e-05/0.00633, allocations: 7 kB / 0.5587 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006332, allocations: 0 / 0.5587 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006333, allocations: 0 / 0.5587 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006337, allocations: 3.984 kB / 0.5587 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.443e-05/0.006401, allocations: 105.2 kB / 0.5588 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006402, allocations: 0 / 0.5588 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.006412, allocations: 7.984 kB / 0.5588 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006413, allocations: 3.938 kB / 0.5588 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.006417, allocations: 0 / 0.5588 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006417, allocations: 0 / 0.5588 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006418, allocations: 0 / 0.5588 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.496e-05/0.006483, allocations: 72.38 kB / 0.5589 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-06/0.006488, allocations: 0 / 0.5589 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-06/0.006494, allocations: 0 / 0.5589 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-06/0.006499, allocations: 0 / 0.5589 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.006509, allocations: 8.031 kB / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.00651, allocations: 0 / 0.5589 GB, free: 13.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.991e-05/0.00654, allocations: 119.2 kB / 0.559 GB, free: 13.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00654, allocations: 0 / 0.559 GB, free: 13.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.006701, allocations: 0 / 0.559 GB, free: 13.26 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 7.883e-05/0.00678, allocations: 91.25 kB / 0.5591 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.598e-05/0.006836, allocations: 19.62 kB / 0.5591 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006837, allocations: 0 / 0.5591 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.006852, allocations: 19.73 kB / 0.5591 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.006973, allocations: 3.938 kB / 0.5591 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.007149, allocations: 83.95 kB / 0.5592 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.131e-05/0.00718, allocations: 51.36 kB / 0.5593 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.312e-05/0.007194, allocations: 0 / 0.5593 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.00723, allocations: 66.2 kB / 0.5593 GB, free: 12.86 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007231, allocations: 0 / 0.5593 GB, free: 12.86 MB / 490.7 MB Notification: Performance of Templates: time 0.001806/0.009037, allocations: 212.7 kB / 0.5595 GB, free: 12.66 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5625096959993243]