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.001352/0.001352, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0017/0.0017, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.03/1.03, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001686/0.001686, allocations: 247.5 kB / 261.3 MB, free: 12.66 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.7724/0.7724, allocations: 138.4 MB / 456.3 MB, free: 30 MB / 410.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.532e-06/1.532e-06, allocations: 0 / 0.5563 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.522e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002769/0.002795, allocations: 1.535 MB / 0.5578 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003908, allocations: 1.258 MB / 0.559 GB, free: 13.08 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.00396, allocations: 3.938 kB / 0.5591 GB, free: 13.08 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.004139, allocations: 23.8 kB / 0.5591 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.004299, allocations: 39.78 kB / 0.5591 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.004419, allocations: 59.83 kB / 0.5592 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.00457, allocations: 151.5 kB / 0.5593 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.004686, allocations: 33.28 kB / 0.5593 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.873e-05/0.004785, allocations: 99.73 kB / 0.5594 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.004884, allocations: 59.81 kB / 0.5595 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.004911, allocations: 12 kB / 0.5595 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.782e-05/0.004959, allocations: 24 kB / 0.5595 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.005015, allocations: 47.81 kB / 0.5596 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.005059, allocations: 47.89 kB / 0.5596 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.005247, allocations: 187.3 kB / 0.5598 GB, free: 12.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005249, allocations: 0 / 0.5598 GB, free: 12.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00525, allocations: 0 / 0.5598 GB, free: 12.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.005253, allocations: 0 / 0.5598 GB, free: 12.31 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.0004379/0.005691, allocations: 0.5114 MB / 0.5603 GB, free: 11.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005727, allocations: 21.92 kB / 0.5603 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.00578, allocations: 20.84 kB / 0.5603 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.005962, allocations: 208.7 kB / 0.5605 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.006065, allocations: 222.2 kB / 0.5608 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.006082, allocations: 4.375 kB / 0.5608 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.006245, allocations: 188.6 kB / 0.5609 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006253, allocations: 4.188 kB / 0.5609 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.006269, allocations: 4.125 kB / 0.5609 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.006293, allocations: 12 kB / 0.561 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.00632, allocations: 19.92 kB / 0.561 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.006784, allocations: 380 kB / 0.5613 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.006831, allocations: 35 kB / 0.5614 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.006853, allocations: 19.67 kB / 0.5614 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.006871, allocations: 7.938 kB / 0.5614 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.006889, allocations: 33.39 kB / 0.5614 GB, free: 10.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.00689, allocations: 0 / 0.5614 GB, free: 10.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001572/0.007047, allocations: 81.59 kB / 0.5615 GB, free: 10.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.007072, allocations: 55.39 kB / 0.5616 GB, free: 10.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.007208, allocations: 259.5 kB / 0.5618 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.007228, allocations: 29.7 kB / 0.5618 GB, free: 9.988 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.007296, allocations: 170.9 kB / 0.562 GB, free: 9.816 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.007317, allocations: 27.75 kB / 0.562 GB, free: 9.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.007354, allocations: 43.34 kB / 0.5621 GB, free: 9.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.007492, allocations: 0.504 MB / 0.5626 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.007508, allocations: 7.984 kB / 0.5626 GB, free: 9.215 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.007573, allocations: 116.2 kB / 0.5627 GB, free: 9.051 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/0.007671, allocations: 144 kB / 0.5628 GB, free: 8.859 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007673, allocations: 4 kB / 0.5628 GB, free: 8.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001503/0.007823, allocations: 121.3 kB / 0.5629 GB, free: 8.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007836, allocations: 8 kB / 0.5629 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00784, allocations: 0 / 0.5629 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.00785, allocations: 4 kB / 0.5629 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.007913, allocations: 28.3 kB / 0.563 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.007917, allocations: 8 kB / 0.563 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.00795, allocations: 7.953 kB / 0.563 GB, free: 8.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.007959, allocations: 8 kB / 0.563 GB, free: 8.668 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 7.476e-05/0.008033, allocations: 176.4 kB / 0.5632 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.008068, allocations: 19.91 kB / 0.5632 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.008181, allocations: 87.28 kB / 0.5633 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008183, allocations: 7.938 kB / 0.5633 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.008185, allocations: 0 / 0.5633 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008188, allocations: 0 / 0.5633 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.008306, allocations: 145.1 kB / 0.5634 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.008307, allocations: 4 kB / 0.5634 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.008331, allocations: 11.94 kB / 0.5634 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.008332, allocations: 4 kB / 0.5634 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.008336, allocations: 0 / 0.5634 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008336, allocations: 3.938 kB / 0.5634 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008338, allocations: 3.984 kB / 0.5634 GB, free: 8.172 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.008452, allocations: 219.8 kB / 0.5636 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.008468, allocations: 23.78 kB / 0.5637 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.00848, allocations: 4 kB / 0.5637 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.008574, allocations: 15.98 kB / 0.5637 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.008586, allocations: 7.984 kB / 0.5637 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.008637, allocations: 11.98 kB / 0.5637 GB, free: 7.875 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.008707, allocations: 181.3 kB / 0.5639 GB, free: 7.699 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008707, allocations: 0 / 0.5639 GB, free: 7.699 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.008898, allocations: 28 kB / 0.5639 GB, free: 7.672 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.0001552/0.009053, allocations: 134.4 kB / 0.564 GB, free: 7.539 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.009139, allocations: 47.61 kB / 0.5641 GB, free: 7.488 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009141, allocations: 0 / 0.5641 GB, free: 7.488 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/0.009161, allocations: 28.08 kB / 0.5641 GB, free: 7.457 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.00937, allocations: 39.31 kB / 0.5641 GB, free: 7.422 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.009667, allocations: 274.6 kB / 0.5644 GB, free: 7.125 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.009706, allocations: 75.33 kB / 0.5645 GB, free: 7.031 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.009763, allocations: 28.91 kB / 0.5645 GB, free: 7.004 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.009942, allocations: 150 kB / 0.5647 GB, free: 6.855 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009943, allocations: 0 / 0.5647 GB, free: 6.855 MB / 490.7 MB Notification: Performance of Templates: time 0.003892/0.01383, allocations: 2.778 MB / 0.5674 GB, free: 4.117 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.8342975648120046]