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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 107.1 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 185.2 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002474/0.002474, allocations: 292.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 99.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4301, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002656/0.4328, allocations: 1.483 MB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.4343, allocations: 1.115 MB / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.4344, allocations: 0 / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.4346, allocations: 23.86 kB / 0.7696 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.4347, allocations: 39.78 kB / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.4349, allocations: 55.91 kB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.4351, allocations: 155.5 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.4353, allocations: 41.11 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.4354, allocations: 83.75 kB / 0.77 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.4356, allocations: 59.75 kB / 0.77 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.4356, allocations: 12 kB / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.4357, allocations: 20 kB / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.627e-05/0.4357, allocations: 59.75 kB / 0.7701 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.427e-05/0.4358, allocations: 67.58 kB / 0.7702 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.4361, allocations: 208.9 kB / 0.7704 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4361, allocations: 0 / 0.7704 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4361, allocations: 0 / 0.7704 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.4361, allocations: 0 / 0.7704 GB, free: 0.5234 MB / 0.5294 GB 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.0007359/0.4369, allocations: 498.5 kB / 0.7708 GB, free: 15.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.4369, allocations: 12.03 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.437, allocations: 16.84 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.4373, allocations: 265 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.4375, allocations: 115.4 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4375, allocations: 8.375 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.4378, allocations: 157.7 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4378, allocations: 7.984 kB / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.4379, allocations: 0 / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.4379, allocations: 15.98 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.438, allocations: 43.91 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.4391, allocations: 464.4 kB / 0.7719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.4391, allocations: 34.52 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.4392, allocations: 20.84 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.4392, allocations: 4 kB / 0.772 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4393, allocations: 38.55 kB / 0.772 GB, free: 14.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.4393, allocations: 3.938 kB / 0.772 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002802/0.4395, allocations: 97.58 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.4396, allocations: 63.34 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4398, allocations: 211.8 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.4398, allocations: 33.7 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.4399, allocations: 124.3 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.44, allocations: 27.78 kB / 0.7725 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.44, allocations: 33.64 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4402, allocations: 326.8 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.4402, allocations: 27.97 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.4403, allocations: 102.3 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.4405, allocations: 142.1 kB / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4405, allocations: 0 / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002478/0.4408, allocations: 153.3 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4408, allocations: 8.375 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4408, allocations: 12 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4408, allocations: 4 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/0.4409, allocations: 19.98 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4409, allocations: 11.88 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.441, allocations: 7.953 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.441, allocations: 8 kB / 0.7733 GB, free: 13.15 MB / 0.545 GB 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.0001359/0.4411, allocations: 146.4 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.4412, allocations: 15.91 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.4414, allocations: 123.1 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4414, allocations: 4 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4414, allocations: 3.938 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4414, allocations: 0 / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4417, allocations: 229.6 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4417, allocations: 3.984 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.4417, allocations: 12 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4417, allocations: 0 / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.4417, allocations: 0 / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4417, allocations: 0 / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4417, allocations: 11.88 kB / 0.7739 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.4419, allocations: 191.3 kB / 0.7741 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.442, allocations: 97 kB / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.442, allocations: 0 / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.4423, allocations: 15.98 kB / 0.7742 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.4423, allocations: 11.92 kB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.4423, allocations: 11.98 kB / 0.7742 GB, free: 12.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001531/0.4425, allocations: 166.1 kB / 0.7743 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4425, allocations: 0 / 0.7743 GB, free: 12.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002997/0.4428, allocations: 35.89 kB / 0.7744 GB, free: 11.99 MB / 0.545 GB 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.0002457/0.443, allocations: 131.6 kB / 0.7745 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.4432, allocations: 71.84 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4432, allocations: 0 / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.4432, allocations: 31.91 kB / 0.7746 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.4435, allocations: 19.97 kB / 0.7746 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.444, allocations: 287.6 kB / 0.7749 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.4444, allocations: 0.7275 MB / 0.7756 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.4445, allocations: 52.78 kB / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.4446, allocations: 15.44 kB / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4446, allocations: 0 / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of Templates: time 0.005624/0.4502, allocations: 2.408 MB / 0.778 GB, free: 8.234 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)