Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001885/0.001885, 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.002464/0.002464, allocations: 211.4 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.809 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.33/3.33, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.002089/0.002089, allocations: 73.48 kB / 1.186 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3483, allocations: 181.9 MB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003135/0.3514, allocations: 1.4 MB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000195/0.3516, allocations: 43.81 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.3517, allocations: 0 / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.3519, allocations: 15.94 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.352, allocations: 15.86 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.22e-06/0.352, allocations: 0 / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.3521, allocations: 15.94 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.3522, allocations: 7.969 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.3522, allocations: 11.94 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.3523, allocations: 7.938 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.3523, allocations: 0 / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.3524, allocations: 19.98 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.3524, allocations: 0 / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.3525, allocations: 7.938 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.3526, allocations: 36.11 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3526, allocations: 0 / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3526, allocations: 4 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3526, allocations: 0 / 1.365 GB, free: 12.57 MB / 1.061 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.000491/0.3531, allocations: 262.2 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3532, allocations: 8.031 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.3532, allocations: 30.75 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.3533, allocations: 8.938 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.3535, allocations: 118.5 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3535, allocations: 384 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3535, allocations: 384 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3536, allocations: 38.2 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3537, allocations: 3.938 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3537, allocations: 3.984 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.3537, allocations: 4 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/0.3537, allocations: 4 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.3539, allocations: 124.8 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.354, allocations: 18.61 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.354, allocations: 4.859 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3541, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.3541, allocations: 42.55 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3541, allocations: 7.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000162/0.3543, allocations: 41.64 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.3544, allocations: 51.41 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3545, allocations: 113.8 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3546, allocations: 25.7 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.3546, allocations: 88.14 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3547, allocations: 3.953 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.3547, allocations: 13.7 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3549, allocations: 314.8 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.3549, allocations: 128 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.3549, allocations: 15.94 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.3549, allocations: 8.859 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.355, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.005e-05/0.355, allocations: 37.69 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.3551, allocations: 10.59 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3551, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3551, allocations: 3.938 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.3552, allocations: 4 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3552, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.3552, allocations: 8.094 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.3552, allocations: 0 / 1.366 GB, free: 10.99 MB / 1.061 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.0001314/0.3553, allocations: 109.8 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.3553, allocations: 11.88 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.3555, allocations: 45.11 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3555, allocations: 0 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3555, allocations: 0 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3555, allocations: 0 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.3556, allocations: 124.8 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3556, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.3556, allocations: 8.031 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.3556, allocations: 7.922 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.3557, allocations: 3.984 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3557, allocations: 0 / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3557, allocations: 4 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.3558, allocations: 65.08 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.3558, allocations: 3.953 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3558, allocations: 7.922 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.3558, allocations: 3.938 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.3558, allocations: 4 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3558, allocations: 4.031 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.84e-05/0.3559, allocations: 91.27 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3559, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002188/0.3561, allocations: 4 kB / 1.367 GB, free: 10.41 MB / 1.061 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.0007332/0.3569, allocations: 0.6119 MB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.357, allocations: 11.97 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.357, allocations: 0 / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.357, allocations: 4 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.3572, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.3583, allocations: 1.114 MB / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.274e-05/0.3583, allocations: 63.34 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.034e-05/0.3584, allocations: 11.92 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3585, allocations: 11.44 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3585, allocations: 4.156 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.3875, allocations: 1.889 MB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.45, allocations: 11.83 kB / 1.37 GB, free: 6.695 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.398516966961324] Failed to read output from testmodel.py, exit status != 0: 12.560026455204934 12.586519293 12.229199934 Calling exit ...