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.001321/0.001321, 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.001451/0.001451, 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.459/1.459, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.002604/0.002604, allocations: 237 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.099/1.099, allocations: 138.4 MB / 454.7 MB, free: 1.43 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.563e-06/1.563e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.379e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003036/0.003059, allocations: 1.498 MB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.004967, allocations: 1.223 MB / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.005017, allocations: 0 / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.005193, allocations: 19.86 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.005401, allocations: 47.7 kB / 0.557 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.005591, allocations: 63.78 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.005821, allocations: 147.5 kB / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.005953, allocations: 33.28 kB / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.006102, allocations: 99.8 kB / 0.5574 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.006244, allocations: 47.88 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.006284, allocations: 12 kB / 0.5574 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.006362, allocations: 24 kB / 0.5574 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.006447, allocations: 51.81 kB / 0.5575 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.006529, allocations: 51.83 kB / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.006874, allocations: 215.3 kB / 0.5577 GB, free: 13.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.00688, allocations: 4 kB / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006881, allocations: 0 / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006885, allocations: 3.938 kB / 0.5577 GB, free: 13.3 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.0007681/0.007653, allocations: 425.3 kB / 0.5582 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.007691, allocations: 12.75 kB / 0.5582 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.007782, allocations: 20.84 kB / 0.5582 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.008118, allocations: 201.4 kB / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.008357, allocations: 226.2 kB / 0.5586 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.00839, allocations: 8.375 kB / 0.5586 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.008881, allocations: 260.5 kB / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.008889, allocations: 192 / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.008917, allocations: 8.125 kB / 0.5589 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.008948, allocations: 11.98 kB / 0.5589 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.00904, allocations: 39.97 kB / 0.5589 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.01013, allocations: 392.1 kB / 0.5593 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.566e-05/0.0102, allocations: 26.58 kB / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.01026, allocations: 24.84 kB / 0.5593 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.01028, allocations: 0 / 0.5593 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.01033, allocations: 42.55 kB / 0.5594 GB, free: 11.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.01033, allocations: 0 / 0.5594 GB, free: 11.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.000317/0.01064, allocations: 105.5 kB / 0.5595 GB, free: 11.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.01069, allocations: 59.41 kB / 0.5595 GB, free: 11.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.01095, allocations: 207.9 kB / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.01098, allocations: 25.7 kB / 0.5597 GB, free: 11.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.0111, allocations: 136.2 kB / 0.5599 GB, free: 10.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.01112, allocations: 19.86 kB / 0.5599 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.01118, allocations: 29.7 kB / 0.5599 GB, free: 10.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01136, allocations: 330.8 kB / 0.5602 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.01143, allocations: 31.97 kB / 0.5603 GB, free: 10.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.01158, allocations: 98.17 kB / 0.5604 GB, free: 10.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.01178, allocations: 142.2 kB / 0.5605 GB, free: 10.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01178, allocations: 0 / 0.5605 GB, free: 10.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002864/0.01207, allocations: 161.3 kB / 0.5607 GB, free: 10 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01209, allocations: 4 kB / 0.5607 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01209, allocations: 4 kB / 0.5607 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.01211, allocations: 7.938 kB / 0.5607 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01222, allocations: 24 kB / 0.5607 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.01223, allocations: 8.359 kB / 0.5607 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.0123, allocations: 19.89 kB / 0.5607 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.01231, allocations: 4 kB / 0.5607 GB, free: 9.93 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.0001774/0.01249, allocations: 153.7 kB / 0.5609 GB, free: 9.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.01256, allocations: 19.89 kB / 0.5609 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.01281, allocations: 123 kB / 0.561 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.01281, allocations: 0 / 0.561 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01281, allocations: 4 kB / 0.561 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.01282, allocations: 3.984 kB / 0.561 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.01305, allocations: 157.2 kB / 0.5612 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.01305, allocations: 0 / 0.5612 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.01311, allocations: 19.98 kB / 0.5612 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01311, allocations: 0 / 0.5612 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.01312, allocations: 0 / 0.5612 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.01312, allocations: 4 kB / 0.5612 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01312, allocations: 0 / 0.5612 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.01338, allocations: 191.4 kB / 0.5614 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.01341, allocations: 11.91 kB / 0.5614 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01342, allocations: 3.938 kB / 0.5614 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.01367, allocations: 23.97 kB / 0.5614 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.01369, allocations: 7.984 kB / 0.5614 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.01372, allocations: 11.98 kB / 0.5614 GB, free: 9.145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.0139, allocations: 169.4 kB / 0.5616 GB, free: 8.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0139, allocations: 0 / 0.5616 GB, free: 8.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.01421, allocations: 35.89 kB / 0.5616 GB, free: 8.945 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.0002782/0.01449, allocations: 125.8 kB / 0.5617 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.01466, allocations: 67.84 kB / 0.5618 GB, free: 8.754 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01466, allocations: 0 / 0.5618 GB, free: 8.754 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.01471, allocations: 27.97 kB / 0.5618 GB, free: 8.727 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.01505, allocations: 39.47 kB / 0.5619 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.01565, allocations: 297 kB / 0.5622 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.01585, allocations: 122.2 kB / 0.5623 GB, free: 8.238 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.01597, allocations: 48.89 kB / 0.5623 GB, free: 8.191 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.01602, allocations: 24.48 kB / 0.5623 GB, free: 8.168 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01602, allocations: 0 / 0.5623 GB, free: 8.168 MB / 490.7 MB Notification: Performance of Templates: time 0.006064/0.02208, allocations: 2.48 MB / 0.5648 GB, free: 5.723 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.593967571039684]