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.001824/0.001824, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001986/0.001986, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.781 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.176/3.176, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_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.002098/0.002098, allocations: 63.28 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002909/0.3635, allocations: 1.505 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3652, allocations: 1.196 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.3652, allocations: 4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.3654, allocations: 19.86 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.3656, allocations: 35.78 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.3658, allocations: 63.84 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.366, allocations: 147.5 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3661, allocations: 41.5 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3662, allocations: 79.77 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3664, allocations: 63.69 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.3664, allocations: 12 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.3665, allocations: 24 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.3666, allocations: 51.81 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.3667, allocations: 55.7 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.3669, allocations: 211.1 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.3669, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3669, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.367, allocations: 0 / 1.328 GB, free: 14.89 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.0006949/0.3676, allocations: 429.3 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3677, allocations: 8.031 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.3677, allocations: 38.75 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.3678, allocations: 16.84 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3681, allocations: 206.6 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.3683, allocations: 218.2 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3683, allocations: 8.375 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.3688, allocations: 264.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.3688, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.3688, allocations: 8 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.3688, allocations: 11.98 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.3689, allocations: 37.95 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.3699, allocations: 415.5 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.37, allocations: 34.58 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.3701, allocations: 24.84 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.3701, allocations: 4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3701, allocations: 38.55 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3701, allocations: 7.875 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000273/0.3704, allocations: 109.5 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.3705, allocations: 55.34 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3707, allocations: 215.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.3707, allocations: 29.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.3708, allocations: 124.2 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3708, allocations: 27.95 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.3709, allocations: 37.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.371, allocations: 326.8 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.3711, allocations: 27.97 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3712, allocations: 98.22 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.3714, allocations: 142.2 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3714, allocations: 0 / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000256/0.3717, allocations: 149.7 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3717, allocations: 13.88 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3717, allocations: 4 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3717, allocations: 0 / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3718, allocations: 31.92 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3718, allocations: 7.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.3719, allocations: 11.89 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3719, allocations: 8 kB / 1.332 GB, free: 11.43 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.000141/0.3721, allocations: 147.5 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.3721, allocations: 15.91 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.3724, allocations: 131.3 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3724, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3724, allocations: 11.94 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3724, allocations: 7.875 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.3726, allocations: 176.7 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3726, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.3727, allocations: 16 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3727, allocations: 3.984 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3727, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3727, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3727, allocations: 7.938 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.3729, allocations: 187.4 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3729, allocations: 11.91 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.3729, allocations: 8 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3732, allocations: 15.97 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.3732, allocations: 11.88 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3732, allocations: 15.97 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000161/0.3734, allocations: 157.5 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3734, allocations: 0 / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002995/0.3737, allocations: 31.94 kB / 1.332 GB, free: 10.41 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.0007661/0.3745, allocations: 0.7473 MB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.3746, allocations: 67.84 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3746, allocations: 0.75 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-05/0.3747, allocations: 27.92 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.375, allocations: 23.94 kB / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.3772, allocations: 1.916 MB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.3774, allocations: 122.1 kB / 1.335 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.3775, allocations: 52.88 kB / 1.335 GB, free: 7.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.979e-05/0.3776, allocations: 51.41 kB / 1.335 GB, free: 7.215 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3776, allocations: 0 / 1.335 GB, free: 7.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04585/0.4234, allocations: 4.89 MB / 1.34 GB, free: 2.492 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.12, allocations: 17.17 kB / 1.34 GB, free: 2.48 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: 18.807693894021213] Failed to read output from testmodel.py, exit status != 0: 12.237575922627002 12.26549194 11.893049973 Calling exit ...