Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001372/0.001372, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001698/0.001698, allocations: 216 kB / 22.26 MB, free: 5.113 MB / 14.72 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 1.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.365/3.365, allocations: 0.5096 GB / 0.8147 GB, free: 17.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 64.33 kB / 1.184 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3646, allocations: 181.4 MB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003243/0.3678, allocations: 1.384 MB / 1.363 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.368, allocations: 39.7 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.3681, allocations: 7.938 kB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.3683, allocations: 11.88 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.3684, allocations: 11.92 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.059e-06/0.3684, allocations: 0 / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.3685, allocations: 15.94 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.3686, allocations: 3.984 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.3686, allocations: 11.92 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.3687, allocations: 12 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3687, allocations: 0 / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/0.3687, allocations: 15.98 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.3688, allocations: 3.938 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.3688, allocations: 11.94 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.3689, allocations: 23.84 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3689, allocations: 0 / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3689, allocations: 0 / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.369, allocations: 0 / 1.363 GB, free: 14.6 MB / 1.061 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.000412/0.3694, allocations: 263.7 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3694, allocations: 16.03 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.3694, allocations: 0.9375 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3696, allocations: 114.5 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.3696, allocations: 384 / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.3697, allocations: 384 / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.3698, allocations: 38.2 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3698, allocations: 192 / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3698, allocations: 3.938 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.3698, allocations: 4 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.3698, allocations: 7.984 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.37, allocations: 120.8 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.871e-05/0.37, allocations: 18.61 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.3701, allocations: 12.78 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3701, allocations: 0 / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3701, allocations: 34.5 kB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3701, allocations: 64 / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.3703, allocations: 45.64 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3703, allocations: 51.41 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3704, allocations: 117.8 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3705, allocations: 25.7 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.3705, allocations: 88.12 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3705, allocations: 3.953 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.3706, allocations: 13.72 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3707, allocations: 319 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.3707, allocations: 0 / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.3707, allocations: 7.938 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.3708, allocations: 16.78 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3708, allocations: 0 / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.922e-05/0.3708, allocations: 33.7 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3709, allocations: 8 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3709, allocations: 3.938 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3709, allocations: 96 / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/0.3709, allocations: 4 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3709, allocations: 4.312 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.371, allocations: 4 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.371, allocations: 0 / 1.364 GB, free: 13.06 MB / 1.061 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.257e-05/0.371, allocations: 109.8 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.3711, allocations: 7.953 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.3712, allocations: 49.02 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3712, allocations: 4 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3712, allocations: 4.031 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3712, allocations: 0 / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.3713, allocations: 124.8 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3713, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.3713, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3713, allocations: 4 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3713, allocations: 3.938 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3713, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3713, allocations: 3.938 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.875e-05/0.3714, allocations: 69.06 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.3714, allocations: 0 / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3714, allocations: 3.938 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.3714, allocations: 4 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.3714, allocations: 3.984 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3714, allocations: 0 / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.3715, allocations: 95.27 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001996/0.3717, allocations: 4 kB / 1.365 GB, free: 12.5 MB / 1.061 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.000233/0.3719, allocations: 111.1 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.38e-05/0.372, allocations: 11.98 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.372, allocations: 0 / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.3721, allocations: 3.938 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.3722, allocations: 8.125 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.3725, allocations: 101.6 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3729, allocations: 0.6768 MB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.415e-05/0.3729, allocations: 4 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.373, allocations: 11.44 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.373, allocations: 0 / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of Templates: time 0.003112/0.3761, allocations: 493.6 kB / 1.366 GB, free: 11.03 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 9.022257220931351] Failed to read output from testmodel.py, exit status != 0: 0.384879725985229 0.40175710299999995 0.029619456000000002 Calling exit ...