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.001387/0.001387, allocations: 88.72 kB / 19.44 MB, free: 356 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.002725/0.002725, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.002603/0.002603, allocations: 230.2 kB / 259.8 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 1.098/1.098, allocations: 138.5 MB / 454.7 MB, free: 1.48 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.262e-06/1.262e-06, allocations: 0 / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.1e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001605/0.001626, allocations: 0.6001 MB / 0.5549 GB, free: 308 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 4.874e-05/0.001675, allocations: 11.97 kB / 0.5549 GB, free: 296 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.00169, allocations: 4 kB / 0.5549 GB, free: 292 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.001713, allocations: 0 / 0.5549 GB, free: 292 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 8.185e-06/0.001721, allocations: 3.938 kB / 0.5549 GB, free: 288 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.53e-05/0.001756, allocations: 0 / 0.5549 GB, free: 288 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.001799, allocations: 0 / 0.5549 GB, free: 288 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.001832, allocations: 0 / 0.5549 GB, free: 288 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.001861, allocations: 4 kB / 0.5549 GB, free: 284 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.087e-05/0.001882, allocations: 0 / 0.5549 GB, free: 284 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.001893, allocations: 4 kB / 0.5549 GB, free: 280 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.605e-06/0.001895, allocations: 0 / 0.5549 GB, free: 280 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.001905, allocations: 0 / 0.5549 GB, free: 280 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.001923, allocations: 0 / 0.5549 GB, free: 280 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 4.818e-05/0.001971, allocations: 0 / 0.5549 GB, free: 280 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.001973, allocations: 0 / 0.5549 GB, free: 280 kB / 474.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.001974, allocations: 0 / 0.5549 GB, free: 280 kB / 474.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.001977, allocations: 3.938 kB / 0.5549 GB, free: 276 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.0002948/0.002271, allocations: 238.4 kB / 0.5551 GB, free: 4 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.002326, allocations: 12.83 kB / 0.5551 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.002359, allocations: 0.9375 kB / 0.5551 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/0.002454, allocations: 105.8 kB / 0.5552 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.002464, allocations: 384 / 0.5552 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.002473, allocations: 4.375 kB / 0.5553 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.56e-05/0.002548, allocations: 26.27 kB / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.002555, allocations: 192 / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.002561, allocations: 4.312 kB / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.002565, allocations: 384 / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.002585, allocations: 7.938 kB / 0.5553 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.002715, allocations: 101.3 kB / 0.5554 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.00276, allocations: 18.61 kB / 0.5554 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.002783, allocations: 8.859 kB / 0.5554 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.002792, allocations: 0 / 0.5554 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.002827, allocations: 34.62 kB / 0.5554 GB, free: 15.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.002828, allocations: 0 / 0.5554 GB, free: 15.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.002952, allocations: 37.64 kB / 0.5555 GB, free: 15.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.002998, allocations: 51.41 kB / 0.5555 GB, free: 15.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.003054, allocations: 89.86 kB / 0.5556 GB, free: 15.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.003074, allocations: 25.7 kB / 0.5556 GB, free: 15.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.003123, allocations: 84.12 kB / 0.5557 GB, free: 15.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.003149, allocations: 7.953 kB / 0.5557 GB, free: 15.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.003178, allocations: 13.84 kB / 0.5557 GB, free: 15.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.003352, allocations: 314.8 kB / 0.556 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.003365, allocations: 4 kB / 0.556 GB, free: 14.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.003374, allocations: 4 kB / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/0.003406, allocations: 12.8 kB / 0.5561 GB, free: 14.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.003407, allocations: 0 / 0.5561 GB, free: 14.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.593e-05/0.003463, allocations: 29.7 kB / 0.5561 GB, free: 14.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.003475, allocations: 4 kB / 0.5561 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.003479, allocations: 0 / 0.5561 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.003499, allocations: 12.08 kB / 0.5561 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.653e-05/0.003545, allocations: 3.984 kB / 0.5561 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.00355, allocations: 0 / 0.5561 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.003561, allocations: 7.875 kB / 0.5561 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.003565, allocations: 0 / 0.5561 GB, free: 14.86 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.574e-05/0.00365, allocations: 113.8 kB / 0.5562 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.003656, allocations: 0 / 0.5562 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.00367, allocations: 3 kB / 0.5562 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.003676, allocations: 4 kB / 0.5562 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.003679, allocations: 0 / 0.5562 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.003681, allocations: 0 / 0.5562 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.739e-05/0.003779, allocations: 109.2 kB / 0.5563 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.00378, allocations: 0 / 0.5563 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.003793, allocations: 3.938 kB / 0.5563 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.003794, allocations: 0 / 0.5563 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.003799, allocations: 0 / 0.5563 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.0038, allocations: 4 kB / 0.5563 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.003801, allocations: 0 / 0.5563 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.238e-05/0.003893, allocations: 57.08 kB / 0.5564 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.003905, allocations: 11.92 kB / 0.5564 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.003914, allocations: 0 / 0.5564 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.00392, allocations: 4.031 kB / 0.5564 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.003931, allocations: 0 / 0.5564 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.003932, allocations: 0 / 0.5564 GB, free: 14.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.64e-05/0.003979, allocations: 75.28 kB / 0.5565 GB, free: 14.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003979, allocations: 0 / 0.5565 GB, free: 14.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.004167, allocations: 4 kB / 0.5565 GB, free: 14.41 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.0001017/0.004268, allocations: 95.19 kB / 0.5566 GB, free: 14.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.048e-05/0.004329, allocations: 7.938 kB / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00433, allocations: 0 / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-06/0.004335, allocations: 4.062 kB / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.004465, allocations: 4 kB / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.004676, allocations: 82.28 kB / 0.5567 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.909e-05/0.004736, allocations: 55.36 kB / 0.5567 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.973e-05/0.004755, allocations: 0 / 0.5567 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.004783, allocations: 8.5 kB / 0.5567 GB, free: 14.11 MB / 490.7 MB Notification: Performance of SimCode: time 3.5e-07/0.004783, allocations: 0 / 0.5567 GB, free: 14.11 MB / 490.7 MB Notification: Performance of Templates: time 0.002329/0.007112, allocations: 199.6 kB / 0.5569 GB, free: 13.91 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.509934426983818]