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.00103/0.00103, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001525/0.001525, allocations: 181 kB / 23.35 MB, free: 1.137 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 0.98/0.98, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.001712/0.001712, allocations: 233.8 kB / 260.5 MB, free: 12.69 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.7183/0.7183, allocations: 138.4 MB / 402.2 MB, free: 0.5547 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.292e-06/1.292e-06, allocations: 0 / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.289e-05, allocations: 3.797 kB / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002249/0.002272, allocations: 1.452 MB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001317/0.002404, allocations: 43.16 kB / 463.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.002441, allocations: 1.438 kB / 463.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.002591, allocations: 10.34 kB / 463.9 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.002692, allocations: 23.47 kB / 463.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.002695, allocations: 0 / 463.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.473e-05/0.00275, allocations: 13.56 kB / 463.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.002785, allocations: 2.297 kB / 463.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.002834, allocations: 12.89 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.002884, allocations: 6.859 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.002898, allocations: 1.094 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.213e-05/0.00294, allocations: 10.48 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.002979, allocations: 11.42 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.002994, allocations: 4.141 kB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.951e-05/0.003084, allocations: 21.05 kB / 464 MB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003086, allocations: 1.188 kB / 464 MB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003086, allocations: 0 / 464 MB, free: 15.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.003091, allocations: 0.6562 kB / 464 MB, free: 15.87 MB / 426.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.0002467/0.003338, allocations: 236.6 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.003372, allocations: 11.14 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.003398, allocations: 5.438 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.003529, allocations: 140.1 kB / 464.3 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.003537, allocations: 384 / 464.4 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-06/0.003544, allocations: 5.078 kB / 464.4 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.812e-05/0.003612, allocations: 40.78 kB / 464.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.003619, allocations: 0.8906 kB / 464.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.003625, allocations: 1.812 kB / 464.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.003648, allocations: 2.75 kB / 464.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.019e-05/0.003659, allocations: 6.016 kB / 464.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.312e-05/0.003732, allocations: 61.91 kB / 464.5 MB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.189e-05/0.003764, allocations: 18.03 kB / 464.5 MB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.15e-05/0.003775, allocations: 4.859 kB / 464.5 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.003789, allocations: 1.188 kB / 464.5 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.003812, allocations: 37.19 kB / 464.5 MB, free: 15.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.003813, allocations: 1.219 kB / 464.5 MB, free: 15.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.137e-05/0.003905, allocations: 37.78 kB / 464.6 MB, free: 15.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.003931, allocations: 51.41 kB / 464.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.003996, allocations: 114.7 kB / 464.7 MB, free: 15.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.004004, allocations: 25.7 kB / 464.8 MB, free: 15.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.004025, allocations: 83.81 kB / 464.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.004043, allocations: 1.281 kB / 464.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.004063, allocations: 12.58 kB / 464.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.004131, allocations: 321.4 kB / 465.2 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.004137, allocations: 6.781 kB / 465.2 MB, free: 14.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.004142, allocations: 1.312 kB / 465.2 MB, free: 14.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.004167, allocations: 16.55 kB / 465.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004169, allocations: 0 / 465.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.677e-05/0.004206, allocations: 34.77 kB / 465.2 MB, free: 14.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.004217, allocations: 8.594 kB / 465.2 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.00422, allocations: 1.219 kB / 465.2 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.004232, allocations: 0.7969 kB / 465.2 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.55e-05/0.004268, allocations: 2.312 kB / 465.2 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.00427, allocations: 1.828 kB / 465.2 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-06/0.004279, allocations: 0 / 465.2 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.004284, allocations: 1.844 kB / 465.2 MB, free: 14.57 MB / 426.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 4.882e-05/0.004332, allocations: 119.5 kB / 465.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.004339, allocations: 3.062 kB / 465.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.004395, allocations: 41.12 kB / 465.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.004397, allocations: 0.875 kB / 465.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.004399, allocations: 1.219 kB / 465.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.004402, allocations: 2.203 kB / 465.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.122e-05/0.004453, allocations: 70.62 kB / 465.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.004454, allocations: 3.156 kB / 465.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-06/0.004461, allocations: 1.922 kB / 465.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.004463, allocations: 2.094 kB / 465.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.004467, allocations: 0.5 kB / 465.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.004468, allocations: 0.75 kB / 465.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004469, allocations: 4.25 kB / 465.5 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.846e-05/0.004518, allocations: 65.16 kB / 465.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-06/0.004527, allocations: 6.516 kB / 465.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.004534, allocations: 1.125 kB / 465.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-06/0.00454, allocations: 4 kB / 465.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.00455, allocations: 2.141 kB / 465.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.004552, allocations: 0.8125 kB / 465.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.787e-05/0.004569, allocations: 15.05 kB / 465.6 MB, free: 14.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.00457, allocations: 0.7812 kB / 465.6 MB, free: 14.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001004/0.00467, allocations: 3.312 kB / 465.6 MB, free: 14.24 MB / 426.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.0001514/0.004821, allocations: 100.6 kB / 465.7 MB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.915e-05/0.00487, allocations: 9.5 kB / 465.7 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.004873, allocations: 0.875 kB / 465.7 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-06/0.00488, allocations: 11.84 kB / 465.7 MB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.427e-05/0.004944, allocations: 12.8 kB / 465.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.005147, allocations: 112.7 kB / 465.8 MB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.391e-05/0.005181, allocations: 55.86 kB / 465.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.643e-05/0.005198, allocations: 2.219 kB / 465.9 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.00523, allocations: 50.03 kB / 465.9 MB, free: 13.9 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00523, allocations: 2.875 kB / 465.9 MB, free: 13.9 MB / 426.7 MB Notification: Performance of Templates: time 0.002386/0.007616, allocations: 0.5573 MB / 466.5 MB, free: 13.84 MB / 426.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6041751471348107]