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.0009339/0.0009339, allocations: 80.88 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.001025/0.001025, allocations: 181 kB / 23.36 MB, free: 1.133 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.9272/0.9272, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.001706/0.001706, allocations: 247.2 kB / 260.5 MB, free: 12.71 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.6726/0.6726, allocations: 138.4 MB / 402.2 MB, free: 0.5781 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.352e-06/1.352e-06, allocations: 3.938 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.797e-05, allocations: 4.484 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002062/0.00208, allocations: 1.413 MB / 463.7 MB, free: 15.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.002201, allocations: 40.81 kB / 463.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.002238, allocations: 3.938 kB / 463.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.002381, allocations: 8.844 kB / 463.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.002474, allocations: 16.41 kB / 463.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.002477, allocations: 1.094 kB / 463.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.206e-05/0.002529, allocations: 12.05 kB / 463.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.002564, allocations: 8.25 kB / 463.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.00261, allocations: 16.38 kB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.002659, allocations: 7.781 kB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.002676, allocations: 0.625 kB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.854e-05/0.002714, allocations: 7.516 kB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.002747, allocations: 10.62 kB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.00276, allocations: 3.188 kB / 463.9 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.806e-05/0.002838, allocations: 24.08 kB / 463.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00284, allocations: 0.8125 kB / 463.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002841, allocations: 1.375 kB / 463.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.002844, allocations: 0 / 463.9 MB, free: 15.92 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.0002246/0.003069, allocations: 230.5 kB / 464.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.003098, allocations: 11.19 kB / 464.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.003122, allocations: 3.766 kB / 464.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.003237, allocations: 139 kB / 464.3 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.003245, allocations: 1.5 kB / 464.3 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.003252, allocations: 2.281 kB / 464.3 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.751e-05/0.00331, allocations: 32.53 kB / 464.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.003316, allocations: 3.031 kB / 464.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-06/0.003321, allocations: 384 / 464.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.003343, allocations: 1.078 kB / 464.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.082e-05/0.003354, allocations: 12.91 kB / 464.3 MB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.091e-05/0.003425, allocations: 62.56 kB / 464.4 MB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.186e-05/0.003457, allocations: 16.02 kB / 464.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.08e-05/0.003467, allocations: 7.031 kB / 464.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.003479, allocations: 2.047 kB / 464.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.003498, allocations: 34.58 kB / 464.4 MB, free: 15.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.003499, allocations: 0 / 464.4 MB, free: 15.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.152e-05/0.00358, allocations: 40.88 kB / 464.5 MB, free: 15.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.003612, allocations: 53.84 kB / 464.5 MB, free: 15.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.003687, allocations: 117.6 kB / 464.6 MB, free: 15.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.003696, allocations: 25.7 kB / 464.7 MB, free: 15.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.003723, allocations: 87.2 kB / 464.7 MB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.003742, allocations: 0 / 464.7 MB, free: 15.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.003767, allocations: 13.55 kB / 464.8 MB, free: 15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.003848, allocations: 318.7 kB / 465.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-06/0.003855, allocations: 5.375 kB / 465.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-06/0.00386, allocations: 1.625 kB / 465.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.457e-05/0.003885, allocations: 19.58 kB / 465.1 MB, free: 14.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003886, allocations: 0 / 465.1 MB, free: 14.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.724e-05/0.003933, allocations: 38.52 kB / 465.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.003943, allocations: 5.562 kB / 465.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.003947, allocations: 0 / 465.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.003958, allocations: 2.031 kB / 465.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.794e-05/0.003996, allocations: 1.156 kB / 465.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.003999, allocations: 1.875 kB / 465.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.00401, allocations: 0 / 465.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.004015, allocations: 1.719 kB / 465.1 MB, free: 14.63 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 5.706e-05/0.004072, allocations: 118.6 kB / 465.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.004079, allocations: 1.875 kB / 465.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.004135, allocations: 43.95 kB / 465.3 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.004137, allocations: 0 / 465.3 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.004139, allocations: 2.688 kB / 465.3 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.004142, allocations: 1.094 kB / 465.3 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.232e-05/0.004204, allocations: 69.31 kB / 465.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.004206, allocations: 0.8125 kB / 465.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-06/0.004215, allocations: 3.156 kB / 465.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.004217, allocations: 0 / 465.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.004221, allocations: 2.156 kB / 465.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004222, allocations: 1.125 kB / 465.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.004223, allocations: 0.75 kB / 465.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.707e-05/0.00427, allocations: 63.89 kB / 465.4 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.004278, allocations: 9.547 kB / 465.5 MB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.004286, allocations: 1 kB / 465.5 MB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.004294, allocations: 9.688 kB / 465.5 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-06/0.004303, allocations: 0 / 465.5 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.004306, allocations: 2.625 kB / 465.5 MB, free: 14.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.26e-05/0.004328, allocations: 20.27 kB / 465.5 MB, free: 14.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004328, allocations: 0 / 465.5 MB, free: 14.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.004473, allocations: 3.406 kB / 465.5 MB, free: 14.29 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.0001406/0.004614, allocations: 96.27 kB / 465.6 MB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.256e-05/0.004656, allocations: 9.359 kB / 465.6 MB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.004658, allocations: 0 / 465.6 MB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.004665, allocations: 7.766 kB / 465.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.842e-05/0.004724, allocations: 9.062 kB / 465.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.004925, allocations: 121 kB / 465.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.034e-05/0.004956, allocations: 54.61 kB / 465.8 MB, free: 14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.004972, allocations: 7.359 kB / 465.8 MB, free: 14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.005002, allocations: 50.06 kB / 465.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.005003, allocations: 0 / 465.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of Templates: time 0.00221/0.007213, allocations: 0.555 MB / 466.4 MB, free: 13.9 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.592927548568696]