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.001516/0.001516, allocations: 93.06 kB / 19.65 MB, free: 280 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.001692/0.001692, allocations: 173 kB / 23.02 MB, free: 1.551 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.065/1.065, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001688/0.001688, allocations: 241.1 kB / 260.2 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 0.7696/0.7696, allocations: 138.4 MB / 455.2 MB, free: 30.04 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 2.004e-06/2.004e-06, allocations: 0 / 0.5551 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.111e-05, allocations: 5.547 kB / 0.5551 GB, free: 220 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002281/0.002312, allocations: 1.539 MB / 0.5566 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003378, allocations: 1.25 MB / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.003424, allocations: 3.938 kB / 0.5578 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.003612, allocations: 27.72 kB / 0.5578 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.003793, allocations: 43.78 kB / 0.5579 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.003913, allocations: 59.83 kB / 0.5579 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.004061, allocations: 147.5 kB / 0.5581 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.004177, allocations: 41.2 kB / 0.5581 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.004268, allocations: 103.8 kB / 0.5582 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.004371, allocations: 39.89 kB / 0.5583 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.004399, allocations: 12 kB / 0.5583 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.004455, allocations: 27.98 kB / 0.5583 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.004514, allocations: 55.81 kB / 0.5583 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.004563, allocations: 47.83 kB / 0.5584 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.004752, allocations: 183.4 kB / 0.5586 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004754, allocations: 0 / 0.5586 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004755, allocations: 0 / 0.5586 GB, free: 12.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004759, allocations: 0 / 0.5586 GB, free: 12.62 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.000501/0.00526, allocations: 0.5114 MB / 0.5591 GB, free: 12.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.005295, allocations: 9.938 kB / 0.5591 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.005354, allocations: 20.84 kB / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.005568, allocations: 224.3 kB / 0.5593 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.005683, allocations: 218.2 kB / 0.5595 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.005702, allocations: 8.375 kB / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.005886, allocations: 193 kB / 0.5597 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.005893, allocations: 192 / 0.5597 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.00591, allocations: 8.125 kB / 0.5597 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.005938, allocations: 11.94 kB / 0.5597 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.005972, allocations: 15.98 kB / 0.5597 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.006492, allocations: 423.4 kB / 0.5601 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.27e-05/0.006545, allocations: 38.98 kB / 0.5602 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.006571, allocations: 19.69 kB / 0.5602 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.00659, allocations: 4 kB / 0.5602 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.006611, allocations: 37.38 kB / 0.5602 GB, free: 10.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.006612, allocations: 0 / 0.5602 GB, free: 10.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001762/0.006788, allocations: 89.67 kB / 0.5603 GB, free: 10.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.006812, allocations: 51.41 kB / 0.5604 GB, free: 10.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.006961, allocations: 259.5 kB / 0.5606 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.006978, allocations: 29.7 kB / 0.5606 GB, free: 10.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.007041, allocations: 174.9 kB / 0.5608 GB, free: 10.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.007061, allocations: 31.73 kB / 0.5608 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.007096, allocations: 39.36 kB / 0.5609 GB, free: 9.984 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.007208, allocations: 0.504 MB / 0.5614 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.007231, allocations: 8 kB / 0.5614 GB, free: 9.461 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.007297, allocations: 112.2 kB / 0.5615 GB, free: 9.301 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.007398, allocations: 152 kB / 0.5616 GB, free: 9.102 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0074, allocations: 3.938 kB / 0.5616 GB, free: 9.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001387/0.007538, allocations: 125.3 kB / 0.5618 GB, free: 8.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.007551, allocations: 4 kB / 0.5618 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007557, allocations: 4 kB / 0.5618 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.00757, allocations: 4 kB / 0.5618 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.007645, allocations: 27.92 kB / 0.5618 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.00765, allocations: 4 kB / 0.5618 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.007686, allocations: 16.31 kB / 0.5618 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.007694, allocations: 8 kB / 0.5618 GB, free: 8.902 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.515e-05/0.007769, allocations: 172.4 kB / 0.562 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.007803, allocations: 19.91 kB / 0.562 GB, free: 8.703 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.007932, allocations: 91.28 kB / 0.5621 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007934, allocations: 4 kB / 0.5621 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.007937, allocations: 0 / 0.5621 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007939, allocations: 0 / 0.5621 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.008113, allocations: 180.5 kB / 0.5623 GB, free: 8.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.008114, allocations: 0 / 0.5623 GB, free: 8.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.008147, allocations: 15.94 kB / 0.5623 GB, free: 8.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008149, allocations: 4 kB / 0.5623 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.008159, allocations: 8 kB / 0.5623 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.00816, allocations: 0 / 0.5623 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008161, allocations: 0 / 0.5623 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.008292, allocations: 227.8 kB / 0.5625 GB, free: 8.125 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.008307, allocations: 19.84 kB / 0.5625 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.008319, allocations: 0 / 0.5625 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.008414, allocations: 15.98 kB / 0.5625 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.00843, allocations: 7.984 kB / 0.5626 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.008445, allocations: 11.97 kB / 0.5626 GB, free: 8.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.095e-05/0.008526, allocations: 185.4 kB / 0.5627 GB, free: 7.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008526, allocations: 4 kB / 0.5627 GB, free: 7.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.008711, allocations: 28 kB / 0.5628 GB, free: 7.859 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.0001809/0.008892, allocations: 136.5 kB / 0.5629 GB, free: 7.723 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.008998, allocations: 59.48 kB / 0.563 GB, free: 7.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.009, allocations: 0 / 0.563 GB, free: 7.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.425e-05/0.009024, allocations: 28.14 kB / 0.563 GB, free: 7.629 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.009246, allocations: 35.84 kB / 0.563 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.009587, allocations: 266.7 kB / 0.5633 GB, free: 7.305 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.009e-05/0.009637, allocations: 80.08 kB / 0.5634 GB, free: 7.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.742e-05/0.009704, allocations: 48.88 kB / 0.5634 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.009732, allocations: 16.5 kB / 0.5634 GB, free: 7.145 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009732, allocations: 3.938 kB / 0.5634 GB, free: 7.141 MB / 490.7 MB Notification: Performance of Templates: time 0.003972/0.0137, allocations: 2.741 MB / 0.5661 GB, free: 4.438 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.891452114097774]