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.001409/0.001409, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001487/0.001487, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.001654/0.001654, allocations: 232.5 kB / 260.5 MB, free: 12.91 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.749/0.749, allocations: 138.4 MB / 455.4 MB, free: 1.508 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.683e-06/1.683e-06, allocations: 0 / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.614e-05, allocations: 6.312 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001011/0.001027, allocations: 0.6118 MB / 0.5556 GB, free: 292 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 4.201e-05/0.001069, allocations: 3.938 kB / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.001084, allocations: 0 / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.001107, allocations: 0 / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.76e-06/0.001113, allocations: 4 kB / 0.5556 GB, free: 284 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.422e-05/0.001147, allocations: 7.984 kB / 0.5556 GB, free: 276 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.406e-05/0.001191, allocations: 4 kB / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.001226, allocations: 0 / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.001251, allocations: 0 / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.786e-05/0.001269, allocations: 0 / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.001283, allocations: 0 / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-06/0.001287, allocations: 0 / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.001297, allocations: 0 / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.001311, allocations: 4 kB / 0.5556 GB, free: 268 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 4.745e-05/0.001359, allocations: 3.984 kB / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.00136, allocations: 4 kB / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.5e-07/0.001361, allocations: 0 / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.001364, allocations: 0 / 0.5556 GB, free: 260 kB / 474.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.0002136/0.001578, allocations: 340.4 kB / 0.5559 GB, free: 15.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.001613, allocations: 8.75 kB / 0.5559 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.001641, allocations: 0.9375 kB / 0.5559 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.06e-05/0.001692, allocations: 112.6 kB / 0.5561 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.001701, allocations: 384 / 0.5561 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.001708, allocations: 384 / 0.5561 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.671e-05/0.001774, allocations: 34.2 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-06/0.001779, allocations: 4.188 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.001785, allocations: 384 / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.001791, allocations: 384 / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.093e-05/0.001802, allocations: 3.938 kB / 0.5561 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.262e-05/0.001884, allocations: 112.6 kB / 0.5562 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.395e-05/0.001918, allocations: 27.06 kB / 0.5562 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.001937, allocations: 11.78 kB / 0.5562 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.001944, allocations: 3.938 kB / 0.5562 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.00196, allocations: 33.39 kB / 0.5563 GB, free: 15.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.001961, allocations: 0 / 0.5563 GB, free: 15.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.291e-05/0.002054, allocations: 33.7 kB / 0.5563 GB, free: 15.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.00208, allocations: 51.41 kB / 0.5564 GB, free: 15.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.25e-05/0.002113, allocations: 142.2 kB / 0.5565 GB, free: 15.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.00212, allocations: 33.7 kB / 0.5565 GB, free: 15.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.002145, allocations: 126.9 kB / 0.5566 GB, free: 15.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.00217, allocations: 12.22 kB / 0.5567 GB, free: 15.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.002189, allocations: 15.38 kB / 0.5567 GB, free: 14.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.002285, allocations: 0.4883 MB / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-06/0.002291, allocations: 0 / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.002296, allocations: 3.938 kB / 0.5572 GB, free: 14.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.002326, allocations: 15.88 kB / 0.5572 GB, free: 14.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.002328, allocations: 0 / 0.5572 GB, free: 14.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.842e-05/0.002356, allocations: 33.7 kB / 0.5572 GB, free: 14.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.002367, allocations: 4 kB / 0.5572 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.002371, allocations: 0 / 0.5572 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.002382, allocations: 4 kB / 0.5572 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.002428, allocations: 3.984 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.002432, allocations: 0 / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-06/0.00244, allocations: 3.938 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.002443, allocations: 32 / 0.5572 GB, free: 14.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 4.997e-05/0.002493, allocations: 164.5 kB / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-06/0.002496, allocations: 0 / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.002509, allocations: 6.938 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.00251, allocations: 0 / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.002513, allocations: 0 / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.002516, allocations: 0 / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.492e-05/0.002561, allocations: 116.6 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.002562, allocations: 4 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-06/0.002567, allocations: 3.984 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.002568, allocations: 0 / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.002573, allocations: 4 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.002573, allocations: 4 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-07/0.002574, allocations: 0 / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.341e-05/0.002617, allocations: 68.39 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.002621, allocations: 4 kB / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-06/0.002628, allocations: 3.984 kB / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-06/0.002631, allocations: 0 / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.002644, allocations: 3.938 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-07/0.002644, allocations: 0 / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.367e-05/0.002668, allocations: 119.2 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002668, allocations: 4.031 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001081/0.002776, allocations: 4 kB / 0.5577 GB, free: 13.84 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.073e-05/0.002837, allocations: 95.19 kB / 0.5578 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.722e-05/0.002894, allocations: 15.69 kB / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.002895, allocations: 0 / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.0029, allocations: 7.688 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.212e-05/0.002993, allocations: 4 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001565/0.003149, allocations: 83.94 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.497e-05/0.003174, allocations: 59.48 kB / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.969e-06/0.003184, allocations: 0 / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.003199, allocations: 12.44 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0032, allocations: 0 / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of Templates: time 0.001319/0.004518, allocations: 196.4 kB / 0.5582 GB, free: 13.31 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.725392004940659]