Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.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.001852/0.001852, allocations: 113 kB / 18.94 MB, free: 2.934 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.002434/0.002434, allocations: 208.9 kB / 22.25 MB, free: 5.086 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.02 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.453/3.453, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [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.002183/0.002183, allocations: 73.27 kB / 1.177 GB, free: 17.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.36, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003229/0.3632, allocations: 1.521 MB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3653, allocations: 1.235 MB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.3654, allocations: 4 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.3656, allocations: 11.86 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.3658, allocations: 47.77 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.366, allocations: 63.83 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.3662, allocations: 143.5 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3664, allocations: 41.5 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3665, allocations: 87.75 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.3667, allocations: 55.7 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.3667, allocations: 12 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/0.3668, allocations: 28 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.3669, allocations: 51.81 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.367, allocations: 75.58 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.3673, allocations: 199.2 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3674, allocations: 0 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3674, allocations: 0 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3674, allocations: 0 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007662/0.3681, allocations: 429.3 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3682, allocations: 12.03 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/0.3682, allocations: 42.73 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.3683, allocations: 24.8 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.3687, allocations: 198.1 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.3689, allocations: 222.2 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3689, allocations: 4.375 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3693, allocations: 161.5 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3693, allocations: 0 / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.3693, allocations: 8 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.3693, allocations: 7.984 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.3694, allocations: 39.97 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3705, allocations: 435.5 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.3706, allocations: 34.58 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.3706, allocations: 24.84 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3707, allocations: 4 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3707, allocations: 38.5 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.3707, allocations: 4 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002847/0.371, allocations: 109.7 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.371, allocations: 59.34 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3713, allocations: 211.8 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3713, allocations: 25.7 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3714, allocations: 132.1 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3714, allocations: 23.81 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.3715, allocations: 33.7 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3717, allocations: 326.8 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.3717, allocations: 31.97 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3718, allocations: 98.17 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.372, allocations: 138.2 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.372, allocations: 4 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000275/0.3723, allocations: 157.5 kB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3723, allocations: 7.984 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3723, allocations: 4 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3723, allocations: 4 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3725, allocations: 23.94 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3725, allocations: 11.92 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.3725, allocations: 11.94 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3726, allocations: 4 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001391/0.3727, allocations: 149.9 kB / 1.359 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.3727, allocations: 11.91 kB / 1.359 GB, free: 1.359 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.373, allocations: 127.3 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.373, allocations: 3.938 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.373, allocations: 3.938 kB / 1.36 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.373, allocations: 3.984 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.3732, allocations: 200.6 kB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3732, allocations: 0 / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.3733, allocations: 15.98 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3733, allocations: 0 / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3733, allocations: 4 kB / 1.36 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3733, allocations: 4 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3733, allocations: 3.938 kB / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.3735, allocations: 183.4 kB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.3735, allocations: 15.91 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3736, allocations: 7.969 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3738, allocations: 19.98 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.3738, allocations: 15.86 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.3738, allocations: 11.98 kB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001588/0.374, allocations: 161.5 kB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.374, allocations: 4 kB / 1.36 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003096/0.3743, allocations: 35.83 kB / 1.36 GB, free: 496 kB / 1.045 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 (8): * Single equations (assignments): 8 * 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.0007169/0.375, allocations: 0.7458 MB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3752, allocations: 71.83 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3752, allocations: 0.75 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.3753, allocations: 27.92 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3756, allocations: 27.92 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.3779, allocations: 1.915 MB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3783, allocations: 0.7353 MB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.3784, allocations: 48.89 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.3785, allocations: 47.41 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3785, allocations: 0 / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.4119, allocations: 4.378 MB / 1.368 GB, free: 8.445 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.1, allocations: 8.562 kB / 1.368 GB, free: 8.441 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.110551808960736] Failed to read output from testmodel.py, exit status != 0: 12.211765957064927 12.229533809 11.858815383 Calling exit ...