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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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.000742/0.0007419, allocations: 91.14 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.004894/0.004894, allocations: 170.9 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 462.6 MB / 0.7364 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 10 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.373, allocations: 159.6 MB / 1.059 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00194/0.375, allocations: 1.085 MB / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.3752, allocations: 43.77 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.3753, allocations: 4 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.3755, allocations: 4 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.3756, allocations: 23.91 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.3756, allocations: 0 / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.3757, allocations: 15.94 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.97e-05/0.3758, allocations: 0 / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.3758, allocations: 11.92 kB / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.3759, allocations: 8 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3759, allocations: 0 / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.376, allocations: 8 kB / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.376, allocations: 3.938 kB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.3761, allocations: 45.61 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3762, allocations: 31.91 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3762, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3762, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3762, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 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.0003423/0.3766, allocations: 331.7 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3766, allocations: 8.031 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.3767, allocations: 12.72 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3769, allocations: 180.4 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3769, allocations: 384 / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.3769, allocations: 8.359 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.377, allocations: 30.27 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.377, allocations: 192 / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.377, allocations: 3.938 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.3771, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/0.3771, allocations: 4 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.3772, allocations: 153.7 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.3773, allocations: 22.52 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.3773, allocations: 16.91 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3773, allocations: 0 / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3774, allocations: 30.56 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3774, allocations: 3.938 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.3775, allocations: 45.55 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3776, allocations: 55.34 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3777, allocations: 113.8 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3777, allocations: 29.83 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.3778, allocations: 88.12 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.3778, allocations: 4 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3778, allocations: 9.719 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.3779, allocations: 310.8 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.3779, allocations: 4 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.378, allocations: 0 / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.378, allocations: 16.91 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.378, allocations: 4 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.703e-05/0.3781, allocations: 41.55 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3781, allocations: 5.562 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3781, allocations: 3.938 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3781, allocations: 4 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.3782, allocations: 0 / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3782, allocations: 0 / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.3782, allocations: 0 / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3782, allocations: 0 / 1.061 GB, free: 2.504 MB / 0.8106 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 7.447e-05/0.3783, allocations: 121.9 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.3783, allocations: 0 / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.539e-05/0.3784, allocations: 49.11 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3784, allocations: 0 / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3784, allocations: 3.984 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3784, allocations: 0 / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.3785, allocations: 157.7 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3786, allocations: 0 / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.3786, allocations: 3.938 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3786, allocations: 8.016 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3786, allocations: 7.938 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3786, allocations: 0 / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3786, allocations: 4 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.063e-05/0.3787, allocations: 61.03 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.3787, allocations: 81.11 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3788, allocations: 7.875 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/0.3788, allocations: 0 / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.3788, allocations: 4.031 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3788, allocations: 7.984 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.193e-05/0.3789, allocations: 87.28 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3789, allocations: 0 / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002093/0.3791, allocations: 4 kB / 1.062 GB, free: 1.805 MB / 0.8106 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.0002182/0.3793, allocations: 115.5 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.3794, allocations: 11.94 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3794, allocations: 0 / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.3794, allocations: 4 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.3796, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.3798, allocations: 116.7 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.3801, allocations: 0.685 MB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.756e-05/0.3801, allocations: 7.938 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.3801, allocations: 7.438 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of SimCode: time 4.2e-07/0.3802, allocations: 0 / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of Templates: time 0.002496/0.3827, allocations: 486 kB / 1.063 GB, free: 340 kB / 0.8106 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)