Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001239/0.001239, 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.001394/0.001394, allocations: 214.4 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7715 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.002085/0.002085, allocations: 67.3 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 169.9 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003344/0.3755, allocations: 1.406 MB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.3757, allocations: 39.83 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.3758, allocations: 0 / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.376, allocations: 15.91 kB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.3762, allocations: 23.92 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.841e-06/0.3762, allocations: 3.938 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.3763, allocations: 11.94 kB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.3763, allocations: 4 kB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.3764, allocations: 11.92 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.3764, allocations: 15.92 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3765, allocations: 0 / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.3765, allocations: 8 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.3766, allocations: 11.92 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.3766, allocations: 7.938 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3767, allocations: 31.42 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3767, allocations: 4 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3767, allocations: 0 / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3768, allocations: 0 / 1.286 GB, free: 10.15 MB / 0.9825 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.0004257/0.3772, allocations: 262.2 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3772, allocations: 11.97 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.901e-05/0.3772, allocations: 4.188 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.3773, allocations: 30.75 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3773, allocations: 8.891 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.3775, allocations: 106.5 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3775, allocations: 8.359 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.3775, allocations: 384 / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.3777, allocations: 38.02 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3777, allocations: 0 / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3777, allocations: 0 / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.3777, allocations: 3.938 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.3777, allocations: 8 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.3779, allocations: 124.8 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.378, allocations: 18.64 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.378, allocations: 8.859 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.378, allocations: 0 / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.378, allocations: 42.48 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3781, allocations: 0 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.3782, allocations: 41.59 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.3783, allocations: 51.41 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.3784, allocations: 122 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3784, allocations: 25.7 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.3785, allocations: 84.14 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3785, allocations: 3.984 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.3786, allocations: 13.72 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3787, allocations: 314.8 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.3787, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.3787, allocations: 4 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.3788, allocations: 20.8 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3788, allocations: 0 / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.399e-05/0.3789, allocations: 45.64 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3789, allocations: 7.938 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3789, allocations: 0 / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3789, allocations: 0 / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.3789, allocations: 7.938 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3789, allocations: 0 / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.379, allocations: 0 / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.379, allocations: 4.031 kB / 1.287 GB, free: 8.562 MB / 0.9825 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 0.0001017/0.3791, allocations: 113.8 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.3791, allocations: 3.938 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3792, allocations: 49.09 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3792, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3792, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3792, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3793, allocations: 132.7 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3793, allocations: 4.031 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.3793, allocations: 4 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3793, allocations: 3.938 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3794, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3794, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3794, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.227e-05/0.3794, allocations: 69.02 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.3795, allocations: 7.938 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3795, allocations: 4.031 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.3795, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.3795, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3795, allocations: 4 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.741e-05/0.3796, allocations: 99.27 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 0 / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002258/0.3798, allocations: 4 kB / 1.288 GB, free: 7.996 MB / 0.9825 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.0006086/0.3804, allocations: 0.6152 MB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.762e-05/0.3805, allocations: 11.92 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3805, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.3805, allocations: 8.094 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.3807, allocations: 6.25 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3819, allocations: 1.119 MB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3822, allocations: 0.6807 MB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.959e-05/0.3823, allocations: 0 / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.3824, allocations: 11.44 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3824, allocations: 0 / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.4064, allocations: 1.524 MB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.3, allocations: 12.75 kB / 1.291 GB, free: 4.035 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.093328654998913] Failed to read output from testmodel.py, exit status != 0: 12.993159839010332 12.500944897 12.118829086 Calling exit ...