Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_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_latest_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.001089/0.001089, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001195/0.001195, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004032, allocations: 8 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8615, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001824/0.8634, allocations: 1.083 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.8636, allocations: 39.89 kB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.8636, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.8638, allocations: 15.88 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.8639, allocations: 0 / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.8639, allocations: 0 / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.864, allocations: 15.98 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.926e-05/0.8641, allocations: 3.984 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.8641, allocations: 7.938 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.8642, allocations: 11.92 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.8642, allocations: 8 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.81e-05/0.8643, allocations: 7.938 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.8643, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.8644, allocations: 25.7 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.391e-05/0.8645, allocations: 19.97 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.8645, allocations: 0 / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.958e-06/0.8645, allocations: 0 / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.8645, allocations: 0 / 1.022 GB, free: 15.85 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.0004166/0.8649, allocations: 333.3 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.865, allocations: 15.97 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.865, allocations: 11.89 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.8653, allocations: 171 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.8653, allocations: 3.938 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.8653, allocations: 0 / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.8654, allocations: 33.66 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8655, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8655, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.8655, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.8655, allocations: 8 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.8658, allocations: 157.7 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.56e-05/0.8658, allocations: 18.52 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.8658, allocations: 8 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.8659, allocations: 34.55 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8659, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001818/0.8661, allocations: 45.64 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.8661, allocations: 55.53 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.8663, allocations: 113.8 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.8663, allocations: 25.7 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.8664, allocations: 84.14 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.8664, allocations: 11.84 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.8664, allocations: 0 / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8665, allocations: 318.8 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.8666, allocations: 0 / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.8666, allocations: 8 kB / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.683e-05/0.8666, allocations: 4 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8666, allocations: 0 / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.439e-05/0.8667, allocations: 37.69 kB / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8667, allocations: 4 kB / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.8667, allocations: 4 kB / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.8667, allocations: 3.953 kB / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.8668, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.8668, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.8668, allocations: 96 / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.8669, allocations: 8 kB / 1.023 GB, free: 14.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.978e-05/0.867, allocations: 105.8 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.867, allocations: 11.91 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.8671, allocations: 45.09 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.8671, allocations: 3.953 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8671, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8671, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.8673, allocations: 157.7 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8673, allocations: 4.031 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.8673, allocations: 0 / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8673, allocations: 0 / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.8673, allocations: 0 / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8673, allocations: 4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.8673, allocations: 3.953 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.867e-05/0.8674, allocations: 69 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.8675, allocations: 81.02 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.8675, allocations: 8.031 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/0.8675, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.8675, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.8675, allocations: 7.953 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.462e-05/0.8676, allocations: 95.56 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8676, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001934/0.8678, allocations: 4 kB / 1.024 GB, free: 13.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002783/0.8681, allocations: 118.3 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.8682, allocations: 11.98 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8682, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.8682, allocations: 7.938 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.8683, allocations: 1.375 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.8687, allocations: 112.8 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.869, allocations: 0.6809 MB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.8692, allocations: 7.938 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.8692, allocations: 11.42 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of SimCode: time 6.32e-07/0.8692, allocations: 0 / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.002772/0.872, allocations: 474.3 kB / 1.025 GB, free: 11.98 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)