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.001361/0.001361, allocations: 93.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.001131/0.001131, allocations: 169 kB / 23.02 MB, free: 1.547 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.006/1.006, 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.001913/0.001913, allocations: 236.9 kB / 260.2 MB, free: 12.82 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.7265/0.7265, allocations: 138.4 MB / 455.2 MB, free: 1.566 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.643e-06/1.643e-06, allocations: 0 / 0.5551 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.637e-05, allocations: 5.688 kB / 0.5551 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001273/0.001299, allocations: 0.6156 MB / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.408e-05/0.001343, allocations: 4 kB / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.00136, allocations: 0 / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.001388, allocations: 0 / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.001394, allocations: 0 / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.827e-05/0.001432, allocations: 0 / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.747e-05/0.001489, allocations: 0 / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.001529, allocations: 4 kB / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.001558, allocations: 8 kB / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.001578, allocations: 0 / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.001592, allocations: 0 / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-06/0.001596, allocations: 0 / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.001607, allocations: 0 / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.001623, allocations: 0 / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.161e-05/0.001674, allocations: 7.922 kB / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.001678, allocations: 4 kB / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.001678, allocations: 0 / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.001682, allocations: 0 / 0.5557 GB, free: 15.95 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.0002218/0.001904, allocations: 332.4 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.00194, allocations: 12.75 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.001969, allocations: 0.9375 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.781e-05/0.002027, allocations: 116.5 kB / 0.5561 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.002038, allocations: 4.375 kB / 0.5561 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.002045, allocations: 384 / 0.5561 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.156e-05/0.002116, allocations: 30.25 kB / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.002123, allocations: 192 / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.00213, allocations: 384 / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.002137, allocations: 384 / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.11e-05/0.002148, allocations: 7.938 kB / 0.5562 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.975e-05/0.002238, allocations: 108.6 kB / 0.5563 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.94e-05/0.002277, allocations: 31.03 kB / 0.5563 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.002301, allocations: 7.688 kB / 0.5563 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.002307, allocations: 0 / 0.5563 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.002331, allocations: 41.45 kB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.002332, allocations: 0 / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001028/0.002435, allocations: 33.69 kB / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.002462, allocations: 51.41 kB / 0.5564 GB, free: 15.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.486e-05/0.002496, allocations: 146.2 kB / 0.5566 GB, free: 14.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.002504, allocations: 25.83 kB / 0.5566 GB, free: 14.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.002532, allocations: 134.9 kB / 0.5567 GB, free: 14.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.00256, allocations: 12.23 kB / 0.5568 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.002584, allocations: 19.38 kB / 0.5568 GB, free: 14.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.002687, allocations: 496.1 kB / 0.5572 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.002697, allocations: 4 kB / 0.5572 GB, free: 14.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.002702, allocations: 0 / 0.5572 GB, free: 14.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.002729, allocations: 7.688 kB / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00273, allocations: 0 / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.58e-05/0.002766, allocations: 37.69 kB / 0.5573 GB, free: 14.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.002778, allocations: 8.094 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.002783, allocations: 0 / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.002793, allocations: 7.875 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.002846, allocations: 4 kB / 0.5573 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.00285, allocations: 0 / 0.5573 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-06/0.002858, allocations: 3.938 kB / 0.5573 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.002863, allocations: 0 / 0.5573 GB, free: 14.1 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 5.498e-05/0.002918, allocations: 156.6 kB / 0.5575 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.002922, allocations: 4 kB / 0.5575 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.002938, allocations: 3 kB / 0.5575 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.002941, allocations: 7.984 kB / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.002944, allocations: 0 / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.002946, allocations: 0 / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.902e-05/0.002995, allocations: 108.6 kB / 0.5576 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.002997, allocations: 4 kB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-06/0.003002, allocations: 0 / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.003003, allocations: 0 / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.00301, allocations: 4 kB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00301, allocations: 0 / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.003011, allocations: 0 / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.684e-05/0.003068, allocations: 80.31 kB / 0.5577 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.003072, allocations: 4.031 kB / 0.5577 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.00308, allocations: 4 kB / 0.5577 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-06/0.003083, allocations: 0 / 0.5577 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.003094, allocations: 0 / 0.5577 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.003095, allocations: 0 / 0.5577 GB, free: 13.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.473e-05/0.00312, allocations: 119.2 kB / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00312, allocations: 0 / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001107/0.003231, allocations: 0 / 0.5578 GB, free: 13.54 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 6.989e-05/0.003301, allocations: 99.19 kB / 0.5579 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.85e-05/0.003369, allocations: 15.67 kB / 0.5579 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.003371, allocations: 0 / 0.5579 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.003376, allocations: 11.69 kB / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.137e-05/0.003468, allocations: 3.938 kB / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.003639, allocations: 87.95 kB / 0.558 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.688e-05/0.003665, allocations: 51.36 kB / 0.558 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.011e-05/0.003676, allocations: 0 / 0.558 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.003692, allocations: 8.5 kB / 0.5581 GB, free: 13.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.003692, allocations: 3.938 kB / 0.5581 GB, free: 13.2 MB / 490.7 MB Notification: Performance of Templates: time 0.001479/0.005171, allocations: 205 kB / 0.5582 GB, free: 13 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.5991642926819623]