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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000975/0.0009749, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001146/0.001146, allocations: 168.7 kB / 15.95 MB, free: 204 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.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 15.94 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8558, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001617/0.8575, allocations: 1.083 MB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001248/0.8576, allocations: 39.91 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.8577, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.8578, allocations: 7.938 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.8579, allocations: 8 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.675e-06/0.8579, allocations: 3.938 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.858, allocations: 19.92 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.8581, allocations: 4 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.8581, allocations: 4 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.8581, allocations: 15.91 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.8582, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.181e-05/0.8582, allocations: 11.94 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.8582, allocations: 4 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.8583, allocations: 29.64 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.222e-05/0.8584, allocations: 27.91 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.8584, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8584, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8584, allocations: 0 / 1.024 GB, free: 14.8 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.0003121/0.8587, allocations: 333.3 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8588, allocations: 12.02 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.8588, allocations: 3.906 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.859, allocations: 171 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.859, allocations: 4 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-06/0.859, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.231e-05/0.8591, allocations: 33.64 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.8591, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.8591, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.8591, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.8592, allocations: 7.938 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.8593, allocations: 153.7 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.8594, allocations: 18.61 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.8594, allocations: 4.859 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.8594, allocations: 4.062 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.8594, allocations: 42.45 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.8594, allocations: 0 / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.8596, allocations: 45.62 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.8596, allocations: 51.41 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.8597, allocations: 113.8 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.8598, allocations: 25.7 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.8598, allocations: 88.14 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.8598, allocations: 7.844 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.8598, allocations: 128 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.86, allocations: 318.8 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.86, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.86, allocations: 8 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.514e-05/0.86, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.86, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.92e-05/0.8601, allocations: 37.64 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8601, allocations: 9.562 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8601, allocations: 3.953 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.8601, allocations: 4.094 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.8602, allocations: 3.984 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.8602, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.8602, allocations: 3.938 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.8602, allocations: 4 kB / 1.025 GB, free: 13.1 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 6.83e-05/0.8603, allocations: 109.8 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.8603, allocations: 7.906 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.054e-05/0.8604, allocations: 37.22 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8604, allocations: 7.984 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.8604, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.8604, allocations: 4 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.8606, allocations: 157.7 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8606, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.8606, allocations: 3.938 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8606, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.8606, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8606, allocations: 3.984 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8606, allocations: 3.953 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.417e-05/0.8607, allocations: 61.14 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.8608, allocations: 96.92 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.8608, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.8608, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.8608, allocations: 7.953 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.8608, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.8609, allocations: 91.27 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8609, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001908/0.8611, allocations: 8.031 kB / 1.026 GB, free: 12.41 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.0002336/0.8613, allocations: 112.8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.4e-05/0.8614, allocations: 11.94 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8614, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.208e-05/0.8614, allocations: 8.047 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.8616, allocations: 4.062 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.8618, allocations: 108.7 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.862, allocations: 0.677 MB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.796e-05/0.8621, allocations: 11.92 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.8621, allocations: 7.438 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.8622, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.002438/0.8646, allocations: 480.3 kB / 1.027 GB, free: 10.94 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)