Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.01053/0.01053, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 8 kB / 0.8728 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7478, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002034/0.7499, allocations: 1.094 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001887/0.7501, allocations: 43.77 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.7502, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.7504, allocations: 12 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.7505, allocations: 15.92 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.7505, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.7506, allocations: 11.92 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.938e-05/0.7507, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.7507, allocations: 11.94 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.7508, allocations: 3.984 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.7508, allocations: 8 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.703e-05/0.7509, allocations: 8 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.7509, allocations: 7.938 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.751, allocations: 33.62 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.994e-05/0.7511, allocations: 31.91 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7511, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7511, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.7511, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.7794 GB 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.0003982/0.7515, allocations: 329.5 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7515, allocations: 12.03 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.7516, allocations: 16.77 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.7518, allocations: 168.4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.7518, allocations: 384 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.7519, allocations: 384 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.752, allocations: 42.23 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.752, allocations: 192 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.752, allocations: 3.938 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.752, allocations: 4 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.889e-05/0.752, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.7522, allocations: 157.7 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.88e-05/0.7523, allocations: 22.55 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.7523, allocations: 4.859 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.7524, allocations: 3.938 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.7524, allocations: 42.61 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7524, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.7525, allocations: 37.67 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.7526, allocations: 67.28 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.7527, allocations: 113.8 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.7527, allocations: 25.7 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.7527, allocations: 84.14 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.7528, allocations: 7.938 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.7528, allocations: 13.7 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7529, allocations: 314.8 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.753, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-06/0.753, allocations: 8 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.753, allocations: 8.859 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.753, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.879e-05/0.7531, allocations: 49.53 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7531, allocations: 4 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7531, allocations: 3.938 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.7531, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.7532, allocations: 4 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.7532, allocations: 4.094 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.7532, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.7532, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB 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.008e-05/0.7533, allocations: 113.8 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.7533, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.402e-05/0.7534, allocations: 49.16 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7534, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7534, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.7535, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.7536, allocations: 161.7 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.7536, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.7536, allocations: 7.938 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7536, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.7536, allocations: 7.938 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7536, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7537, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.045e-05/0.7537, allocations: 61.12 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.7538, allocations: 88.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.7538, allocations: 7.938 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.152e-05/0.7538, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.7539, allocations: 3.938 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.7539, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.7539, allocations: 95.27 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7539, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001901/0.7541, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 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 (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.0002399/0.7544, allocations: 124.8 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.191e-05/0.7545, allocations: 7.938 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7545, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.7545, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.7546, allocations: 8 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.7549, allocations: 116.8 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.7553, allocations: 0.6809 MB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.495e-05/0.7553, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.7553, allocations: 11.44 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7553, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.002525/0.7579, allocations: 486.5 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)