Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001367/0.001367, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001579/0.001579, allocations: 212 kB / 20.13 MB, free: 2.949 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002559/0.002559, allocations: 286.3 kB / 309.8 MB, free: 3.539 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.124/1.124, allocations: 180.6 MB / 0.5338 GB, free: 12.35 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003139/0.003139, allocations: 98.05 kB / 0.7346 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5706, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002473/0.573, allocations: 1.402 MB / 0.8291 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.5732, allocations: 45.72 kB / 0.8292 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.5732, allocations: 0 / 0.8292 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.5734, allocations: 8.453 kB / 0.8292 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.5735, allocations: 21.86 kB / 0.8292 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.5735, allocations: 0 / 0.8292 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.335e-05/0.5735, allocations: 23.38 kB / 0.8292 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.5736, allocations: 4.656 kB / 0.8292 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.332e-05/0.5736, allocations: 4.047 kB / 0.8292 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.5737, allocations: 12.8 kB / 0.8292 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.5737, allocations: 3 kB / 0.8292 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.894e-05/0.5737, allocations: 10.92 kB / 0.8293 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.5738, allocations: 7.625 kB / 0.8293 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.5738, allocations: 11.38 kB / 0.8293 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.5739, allocations: 22.91 kB / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5739, allocations: 3.516 kB / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5739, allocations: 0 / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.5739, allocations: 3.938 kB / 0.8293 GB, free: 1.949 MB / 0.5762 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.0003409/0.5743, allocations: 344.1 kB / 0.8296 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5743, allocations: 6.438 kB / 0.8296 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.5743, allocations: 1.156 kB / 0.8296 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.034e-05/0.5744, allocations: 34.69 kB / 0.8297 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.5744, allocations: 3.75 kB / 0.8297 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.5746, allocations: 180 kB / 0.8298 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.5746, allocations: 0.8906 kB / 0.8298 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5746, allocations: 1.844 kB / 0.8298 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.382e-05/0.5747, allocations: 38.25 kB / 0.8299 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5747, allocations: 0.6562 kB / 0.8299 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.5747, allocations: 0 / 0.8299 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.5747, allocations: 2.812 kB / 0.8299 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.5747, allocations: 7.281 kB / 0.8299 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.5749, allocations: 152.5 kB / 0.83 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.5749, allocations: 24.14 kB / 0.8301 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.575, allocations: 13.75 kB / 0.8301 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.575, allocations: 0.6562 kB / 0.8301 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.575, allocations: 34.5 kB / 0.8301 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.575, allocations: 0 / 0.8301 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.5751, allocations: 43.92 kB / 0.8302 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.5752, allocations: 51.41 kB / 0.8302 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.5753, allocations: 114.4 kB / 0.8303 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-06/0.5753, allocations: 28.8 kB / 0.8303 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.5753, allocations: 85.17 kB / 0.8304 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.5753, allocations: 11.83 kB / 0.8304 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.5753, allocations: 16.02 kB / 0.8304 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.5754, allocations: 314.8 kB / 0.8307 GB, free: 348 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.5754, allocations: 1.031 kB / 0.8307 GB, free: 348 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-06/0.5754, allocations: 6.828 kB / 0.8308 GB, free: 344 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.5754, allocations: 15.16 kB / 0.8308 GB, free: 332 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5754, allocations: 4.062 kB / 0.8308 GB, free: 328 kB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.337e-05/0.5755, allocations: 37.58 kB / 0.8308 GB, free: 292 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5755, allocations: 8.469 kB / 0.8308 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5755, allocations: 0 / 0.8308 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5755, allocations: 2.719 kB / 0.8308 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.592e-05/0.5756, allocations: 0.6562 kB / 0.8308 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.5756, allocations: 0 / 0.8308 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.5756, allocations: 3.281 kB / 0.8308 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.5756, allocations: 0 / 0.8308 GB, free: 288 kB / 0.5762 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 5.8e-05/0.5757, allocations: 121 kB / 0.8309 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.5757, allocations: 8.594 kB / 0.8309 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.5758, allocations: 43.33 kB / 0.831 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5758, allocations: 0.75 kB / 0.831 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5758, allocations: 0 / 0.831 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5758, allocations: 3.938 kB / 0.831 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.5759, allocations: 151.8 kB / 0.8311 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5759, allocations: 8.641 kB / 0.8311 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.5759, allocations: 3.094 kB / 0.8311 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5759, allocations: 8.672 kB / 0.8312 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.5759, allocations: 0 / 0.8312 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5759, allocations: 1.312 kB / 0.8312 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5759, allocations: 0.6562 kB / 0.8312 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.743e-05/0.576, allocations: 60.64 kB / 0.8312 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.5761, allocations: 85.75 kB / 0.8313 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.5761, allocations: 0 / 0.8313 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.5761, allocations: 2.219 kB / 0.8313 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.5761, allocations: 4.031 kB / 0.8313 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.5761, allocations: 3.75 kB / 0.8313 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.5762, allocations: 89.5 kB / 0.8314 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5762, allocations: 0 / 0.8314 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002054/0.5764, allocations: 7.75 kB / 0.8314 GB, free: 15.65 MB / 0.5919 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.0005195/0.5769, allocations: 0.6195 MB / 0.832 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.577, allocations: 7.984 kB / 0.832 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.577, allocations: 0 / 0.832 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.935e-06/0.577, allocations: 3.469 kB / 0.832 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.5772, allocations: 8.891 kB / 0.832 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5783, allocations: 1.109 MB / 0.8331 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.5787, allocations: 0.6779 MB / 0.8338 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.974e-05/0.5788, allocations: 8.375 kB / 0.8338 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.5788, allocations: 13.31 kB / 0.8338 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.5788, allocations: 0 / 0.8338 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.596, allocations: 1.457 MB / 0.8352 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.72, allocations: 14.48 kB / 0.8352 GB, free: 12.82 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.883863520983141] Failed to read output from testmodel.py, exit status != 0: 8.84067819500342 8.854130464 8.277409561 Calling exit ...