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.001781/0.001781, allocations: 89.48 kB / 19.44 MB, free: 336 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.002031/0.002031, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.00328/0.00328, allocations: 234.4 kB / 259.8 MB, free: 12.88 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.168/1.168, allocations: 138.4 MB / 454.7 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.433e-06/1.433e-06, allocations: 0 / 0.5543 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.835e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001758/0.001786, allocations: 0.6043 MB / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 3.631e-05/0.001822, allocations: 0 / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.001838, allocations: 0 / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.001861, allocations: 3.938 kB / 0.5549 GB, free: 328 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.001866, allocations: 0 / 0.5549 GB, free: 328 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.526e-05/0.001902, allocations: 0 / 0.5549 GB, free: 328 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.001946, allocations: 4 kB / 0.5549 GB, free: 324 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.00198, allocations: 8 kB / 0.5549 GB, free: 316 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.002022, allocations: 3.984 kB / 0.5549 GB, free: 312 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.287e-05/0.002045, allocations: 3.984 kB / 0.5549 GB, free: 308 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.002057, allocations: 0 / 0.5549 GB, free: 308 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-06/0.00206, allocations: 0 / 0.5549 GB, free: 308 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.00207, allocations: 0 / 0.5549 GB, free: 308 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.002085, allocations: 0 / 0.5549 GB, free: 308 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 4.632e-05/0.002131, allocations: 7.938 kB / 0.5549 GB, free: 300 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002133, allocations: 0 / 0.5549 GB, free: 300 kB / 474.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002134, allocations: 0 / 0.5549 GB, free: 300 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.002137, allocations: 0 / 0.5549 GB, free: 300 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.0003693/0.002507, allocations: 340.4 kB / 0.5552 GB, free: 15.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.002545, allocations: 8.75 kB / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.002577, allocations: 0.9375 kB / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.002687, allocations: 116.6 kB / 0.5553 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.002698, allocations: 384 / 0.5553 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.002705, allocations: 384 / 0.5553 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/0.002788, allocations: 30.2 kB / 0.5554 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.002795, allocations: 192 / 0.5554 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.002802, allocations: 4.375 kB / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.002806, allocations: 384 / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.002824, allocations: 3.938 kB / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.002976, allocations: 108.6 kB / 0.5555 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.517e-05/0.003041, allocations: 35.08 kB / 0.5555 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.003068, allocations: 11.75 kB / 0.5555 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.003079, allocations: 0 / 0.5555 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.003117, allocations: 41.31 kB / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.003117, allocations: 0 / 0.5556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.003243, allocations: 29.7 kB / 0.5556 GB, free: 15.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.003294, allocations: 59.41 kB / 0.5557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.003375, allocations: 142.2 kB / 0.5558 GB, free: 15.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.003393, allocations: 29.83 kB / 0.5558 GB, free: 15.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.003458, allocations: 126.9 kB / 0.5559 GB, free: 15.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.003488, allocations: 3.953 kB / 0.5559 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.003527, allocations: 19.38 kB / 0.556 GB, free: 15.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003828/0.00391, allocations: 496.1 kB / 0.5564 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.003918, allocations: 0 / 0.5564 GB, free: 14.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.003925, allocations: 3.984 kB / 0.5564 GB, free: 14.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.003957, allocations: 19.62 kB / 0.5565 GB, free: 14.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.003959, allocations: 0 / 0.5565 GB, free: 14.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.738e-05/0.004016, allocations: 37.77 kB / 0.5565 GB, free: 14.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.004029, allocations: 7.938 kB / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.004033, allocations: 0 / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.004046, allocations: 0 / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.004092, allocations: 0 / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.004096, allocations: 4 kB / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.004107, allocations: 3.938 kB / 0.5565 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.004111, allocations: 0 / 0.5565 GB, free: 14.44 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 0.0001062/0.004217, allocations: 156.6 kB / 0.5567 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.004224, allocations: 4 kB / 0.5567 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.004239, allocations: 11.03 kB / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.00424, allocations: 0 / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.004242, allocations: 3.938 kB / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.004244, allocations: 0 / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.004341, allocations: 108.6 kB / 0.5568 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.004342, allocations: 0 / 0.5568 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.004353, allocations: 4 kB / 0.5568 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004354, allocations: 0 / 0.5568 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.004359, allocations: 0 / 0.5568 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.00436, allocations: 0 / 0.5568 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.00436, allocations: 0 / 0.5568 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.864e-05/0.004449, allocations: 76.38 kB / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.004461, allocations: 11.94 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.004469, allocations: 0 / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-06/0.004477, allocations: 4 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.004491, allocations: 0 / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.004492, allocations: 0 / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.221e-05/0.004555, allocations: 119.2 kB / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004555, allocations: 0 / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.004736, allocations: 3.938 kB / 0.557 GB, free: 13.88 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.0001103/0.004847, allocations: 103.2 kB / 0.5571 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.004919, allocations: 11.69 kB / 0.5571 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.004923, allocations: 4 kB / 0.5571 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.004935, allocations: 7.688 kB / 0.5571 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.005061, allocations: 0 / 0.5571 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.00529, allocations: 87.95 kB / 0.5572 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.152e-05/0.005352, allocations: 59.34 kB / 0.5572 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.011e-05/0.005362, allocations: 3.938 kB / 0.5573 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.005381, allocations: 8.5 kB / 0.5573 GB, free: 13.53 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005382, allocations: 4.125 kB / 0.5573 GB, free: 13.53 MB / 490.7 MB Notification: Performance of Templates: time 0.002417/0.007799, allocations: 188.7 kB / 0.5574 GB, free: 13.34 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: 5.712116244947538]