Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.001818/0.001818, 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.002287/0.002287, 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.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.002566/0.002566, allocations: 226 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.089/1.089, allocations: 138.4 MB / 454.7 MB, free: 1.477 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.725e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002729/0.002756, allocations: 1.372 MB / 0.5557 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.002911, allocations: 39.77 kB / 0.5557 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.002947, allocations: 4 kB / 0.5557 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.003101, allocations: 7.938 kB / 0.5557 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.003205, allocations: 11.92 kB / 0.5557 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.003208, allocations: 0 / 0.5557 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.003272, allocations: 23.86 kB / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.003306, allocations: 3.984 kB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.003349, allocations: 4 kB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.003407, allocations: 7.984 kB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003423, allocations: 3.938 kB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.172e-05/0.003475, allocations: 15.94 kB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.003511, allocations: 8 kB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.00353, allocations: 0 / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003637, allocations: 35.78 kB / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003639, allocations: 0 / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003639, allocations: 0 / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.003642, allocations: 0 / 0.5558 GB, free: 15.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000355/0.003997, allocations: 258.3 kB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.00403, allocations: 8.75 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.004071, allocations: 8.891 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.004235, allocations: 109.8 kB / 0.5562 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.004243, allocations: 384 / 0.5562 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.00425, allocations: 4.375 kB / 0.5562 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.981e-05/0.00434, allocations: 34.25 kB / 0.5562 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.004347, allocations: 192 / 0.5562 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.004353, allocations: 384 / 0.5562 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.004372, allocations: 4.375 kB / 0.5562 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.004396, allocations: 7.875 kB / 0.5562 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.004541, allocations: 105.3 kB / 0.5563 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.648e-05/0.004588, allocations: 18.61 kB / 0.5564 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.004608, allocations: 4.859 kB / 0.5564 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.004627, allocations: 4 kB / 0.5564 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.00466, allocations: 42.56 kB / 0.5564 GB, free: 14.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.004661, allocations: 0 / 0.5564 GB, free: 14.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.004803, allocations: 41.62 kB / 0.5564 GB, free: 14.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.00485, allocations: 55.39 kB / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.004985, allocations: 117.8 kB / 0.5566 GB, free: 14.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.005009, allocations: 25.7 kB / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.00506, allocations: 80.14 kB / 0.5567 GB, free: 14.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.005081, allocations: 11.95 kB / 0.5567 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.005114, allocations: 13.72 kB / 0.5567 GB, free: 14.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.005294, allocations: 314.8 kB / 0.557 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.005306, allocations: 4.125 kB / 0.557 GB, free: 13.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.005315, allocations: 3.984 kB / 0.557 GB, free: 13.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.005344, allocations: 12.86 kB / 0.5571 GB, free: 13.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.005345, allocations: 0 / 0.5571 GB, free: 13.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001917/0.005537, allocations: 37.64 kB / 0.5571 GB, free: 13.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.005552, allocations: 8 kB / 0.5571 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005556, allocations: 0 / 0.5571 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.00557, allocations: 0 / 0.5571 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.005616, allocations: 3.984 kB / 0.5571 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.005619, allocations: 96 / 0.5571 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.005636, allocations: 11.88 kB / 0.5571 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.00564, allocations: 4 kB / 0.5571 GB, free: 13.81 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.349e-05/0.005724, allocations: 105.8 kB / 0.5572 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.005737, allocations: 4 kB / 0.5572 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.205e-05/0.005829, allocations: 49.03 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.005833, allocations: 4 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.005838, allocations: 4 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.005842, allocations: 3.938 kB / 0.5573 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.00595, allocations: 113.2 kB / 0.5574 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005951, allocations: 4.031 kB / 0.5574 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.005963, allocations: 0 / 0.5574 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.005965, allocations: 0 / 0.5574 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.00597, allocations: 4 kB / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005971, allocations: 0 / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005971, allocations: 0 / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.444e-05/0.006066, allocations: 61.06 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.006076, allocations: 7.938 kB / 0.5575 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.006088, allocations: 4 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-06/0.006098, allocations: 0 / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.006113, allocations: 0 / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.006115, allocations: 4.031 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.256e-05/0.006187, allocations: 95.2 kB / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006187, allocations: 0 / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.006395, allocations: 7.938 kB / 0.5576 GB, free: 13.29 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.000211/0.006606, allocations: 103.1 kB / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.006673, allocations: 11.98 kB / 0.5577 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.006674, allocations: 0 / 0.5577 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.006685, allocations: 4 kB / 0.5577 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.006833, allocations: 6.578 kB / 0.5577 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.007121, allocations: 104.6 kB / 0.5578 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.007187, allocations: 67.34 kB / 0.5579 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.007238, allocations: 7.938 kB / 0.5579 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.007267, allocations: 8.5 kB / 0.5579 GB, free: 12.93 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007267, allocations: 4.125 kB / 0.5579 GB, free: 12.93 MB / 490.7 MB Notification: Performance of Templates: time 0.002799/0.01007, allocations: 0.5136 MB / 0.5584 GB, free: 12.41 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.389073390047997]