Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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.0008599/0.0008599, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0008681/0.0008681, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 0.9375/0.9375, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.001968/0.001968, allocations: 241.9 kB / 260.5 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.744/0.744, allocations: 138.4 MB / 455.5 MB, free: 1.395 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.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5556 GB, free: 268 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.382e-05, allocations: 2.312 kB / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003121/0.003145, allocations: 1.529 MB / 0.5571 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.004834, allocations: 1.251 MB / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.004904, allocations: 0 / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.005111, allocations: 23.8 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.005347, allocations: 39.78 kB / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.005534, allocations: 63.83 kB / 0.5584 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.005741, allocations: 155.5 kB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.005877, allocations: 29.3 kB / 0.5586 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.006023, allocations: 111.8 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.006153, allocations: 43.83 kB / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.006196, allocations: 12 kB / 0.5588 GB, free: 12.99 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.531e-05/0.006272, allocations: 31.92 kB / 0.5588 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.006342, allocations: 47.83 kB / 0.5588 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.006408, allocations: 47.88 kB / 0.5589 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.006659, allocations: 183.4 kB / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.006661, allocations: 4 kB / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006662, allocations: 0 / 0.5591 GB, free: 12.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.006667, allocations: 0 / 0.5591 GB, free: 12.68 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006019/0.007269, allocations: 0.5113 MB / 0.5596 GB, free: 12.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.007311, allocations: 8.75 kB / 0.5596 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.007377, allocations: 20.84 kB / 0.5596 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.007645, allocations: 208.9 kB / 0.5598 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.007797, allocations: 218.2 kB / 0.56 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.007823, allocations: 4.375 kB / 0.56 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.008061, allocations: 185 kB / 0.5602 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.008069, allocations: 192 / 0.5602 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.008092, allocations: 8.125 kB / 0.5602 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.008122, allocations: 15.92 kB / 0.5602 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.008164, allocations: 15.98 kB / 0.5602 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.008826, allocations: 379.9 kB / 0.5606 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.008881, allocations: 35.06 kB / 0.5606 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.008907, allocations: 15.69 kB / 0.5606 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.008943, allocations: 18.77 kB / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.008974, allocations: 41.38 kB / 0.5607 GB, free: 10.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.008975, allocations: 0 / 0.5607 GB, free: 10.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002162/0.009191, allocations: 81.67 kB / 0.5608 GB, free: 10.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.00922, allocations: 55.41 kB / 0.5608 GB, free: 10.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.009416, allocations: 250.8 kB / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.009441, allocations: 29.7 kB / 0.5611 GB, free: 10.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.00953, allocations: 174.9 kB / 0.5613 GB, free: 10.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.009558, allocations: 31.72 kB / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.009611, allocations: 43.36 kB / 0.5613 GB, free: 10.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.009771, allocations: 0.504 MB / 0.5618 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.009796, allocations: 8 kB / 0.5618 GB, free: 9.594 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.009882, allocations: 108.2 kB / 0.5619 GB, free: 9.438 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.01003, allocations: 156 kB / 0.5621 GB, free: 9.234 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01003, allocations: 0 / 0.5621 GB, free: 9.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001934/0.01022, allocations: 121.7 kB / 0.5622 GB, free: 9.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01024, allocations: 8.031 kB / 0.5622 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01025, allocations: 4 kB / 0.5622 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01026, allocations: 4 kB / 0.5622 GB, free: 9.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.01034, allocations: 23.92 kB / 0.5622 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01035, allocations: 4 kB / 0.5622 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.01041, allocations: 7.953 kB / 0.5622 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.01042, allocations: 12 kB / 0.5623 GB, free: 9.047 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001036/0.01053, allocations: 176.4 kB / 0.5624 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.01058, allocations: 15.91 kB / 0.5624 GB, free: 8.848 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.01076, allocations: 103.2 kB / 0.5625 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01076, allocations: 3.938 kB / 0.5625 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01076, allocations: 0 / 0.5625 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.01076, allocations: 0 / 0.5625 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.01094, allocations: 141.2 kB / 0.5627 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01094, allocations: 0 / 0.5627 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.01098, allocations: 23.86 kB / 0.5627 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01098, allocations: 0 / 0.5627 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-06/0.01098, allocations: 0 / 0.5627 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01099, allocations: 4 kB / 0.5627 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01099, allocations: 0 / 0.5627 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.01111, allocations: 223.8 kB / 0.5629 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.01113, allocations: 23.77 kB / 0.5629 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.01114, allocations: 4 kB / 0.5629 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.01123, allocations: 7.984 kB / 0.5629 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.01124, allocations: 4 kB / 0.563 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.01125, allocations: 11.98 kB / 0.563 GB, free: 8.258 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.852e-05/0.01132, allocations: 177.4 kB / 0.5631 GB, free: 8.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01132, allocations: 3.938 kB / 0.5631 GB, free: 8.082 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.01151, allocations: 31.98 kB / 0.5632 GB, free: 8.051 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 (8): * Single equations (assignments): 8 * 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.0001636/0.01167, allocations: 125.6 kB / 0.5633 GB, free: 7.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.01176, allocations: 56.14 kB / 0.5633 GB, free: 7.867 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01176, allocations: 0 / 0.5633 GB, free: 7.867 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.89e-05/0.01178, allocations: 31.78 kB / 0.5634 GB, free: 7.832 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.01199, allocations: 35.94 kB / 0.5634 GB, free: 7.797 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.01229, allocations: 262.7 kB / 0.5637 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.01234, allocations: 79.31 kB / 0.5637 GB, free: 7.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.0124, allocations: 32.8 kB / 0.5638 GB, free: 7.379 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.01259, allocations: 154 kB / 0.5639 GB, free: 7.227 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01259, allocations: 0 / 0.5639 GB, free: 7.227 MB / 490.7 MB Notification: Performance of Templates: time 0.004583/0.01717, allocations: 2.749 MB / 0.5666 GB, free: 4.516 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6442630868405104]