Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001748/0.001748, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00219/0.00219, allocations: 215 kB / 23.04 MB, free: 5.074 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",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.002/0.002, allocations: 65.42 kB / 1.155 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3627, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003184/0.3659, allocations: 1.524 MB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3678, allocations: 1.243 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.3679, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.368, allocations: 19.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3682, allocations: 39.78 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3685, allocations: 67.83 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.3687, allocations: 143.6 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3689, allocations: 45.5 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.369, allocations: 79.7 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.3692, allocations: 55.77 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.3692, allocations: 8 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.3693, allocations: 27.98 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.3694, allocations: 51.81 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.3695, allocations: 71.59 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.3698, allocations: 211.1 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3698, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3698, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3698, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 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.000777/0.3706, allocations: 429.3 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3706, allocations: 15.97 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3706, allocations: 192 / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.3707, allocations: 38.75 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.3707, allocations: 16.84 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3711, allocations: 198.8 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.3713, allocations: 230.2 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3713, allocations: 8.125 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.3717, allocations: 157.5 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3717, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.3717, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.3717, allocations: 11.98 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.3718, allocations: 35.98 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.373, allocations: 439.4 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.373, allocations: 34.56 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.3731, allocations: 28.84 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3731, allocations: 0 / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3731, allocations: 46.5 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.3731, allocations: 0 / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002866/0.3734, allocations: 101.6 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3735, allocations: 55.34 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3737, allocations: 215.8 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3737, allocations: 25.7 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3738, allocations: 132.2 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.3739, allocations: 27.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.3739, allocations: 33.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3741, allocations: 326.8 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.3741, allocations: 27.98 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3743, allocations: 102.2 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3745, allocations: 138.2 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3745, allocations: 0 / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002585/0.3747, allocations: 153.3 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3747, allocations: 8 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3747, allocations: 0 / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3748, allocations: 4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3749, allocations: 31.86 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3749, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.3749, allocations: 12.27 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.375, allocations: 16 kB / 1.333 GB, free: 11.03 MB / 1.029 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.0001381/0.3751, allocations: 141.8 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.3752, allocations: 15.91 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.3754, allocations: 118.9 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3754, allocations: 3.938 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3754, allocations: 3.938 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3754, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.3757, allocations: 208.6 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3757, allocations: 0 / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3757, allocations: 19.98 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3757, allocations: 0 / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3757, allocations: 3.938 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3757, allocations: 3.938 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3757, allocations: 0 / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.376, allocations: 187.4 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.376, allocations: 11.91 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.376, allocations: 3.984 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.3763, allocations: 31.91 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.3763, allocations: 7.938 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.3763, allocations: 11.97 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001564/0.3765, allocations: 161.5 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3765, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000309/0.3768, allocations: 31.94 kB / 1.334 GB, free: 10 MB / 1.029 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.0008331/0.3776, allocations: 0.7609 MB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.3778, allocations: 72.53 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3778, allocations: 0 / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-05/0.3779, allocations: 31.91 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.3782, allocations: 15.94 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.3805, allocations: 1.916 MB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3809, allocations: 0.7314 MB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.381, allocations: 56.92 kB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.3811, allocations: 43.42 kB / 1.338 GB, free: 6.18 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.3811, allocations: 0 / 1.338 GB, free: 6.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.4149, allocations: 4.404 MB / 1.342 GB, free: 1.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.3, allocations: 12 kB / 1.342 GB, free: 1.945 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.21948763501132] Failed to read output from testmodel.py, exit status != 0: 12.461856905021705 12.488716589 12.113614598 Calling exit ...