Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001586/0.001586, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001759/0.001759, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 8.008 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.33/3.33, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.WeeklySchedule7to19,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_12_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.002137/0.002137, allocations: 69.09 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3601, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002683/0.3628, allocations: 1.403 MB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.363, allocations: 48.34 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.3631, allocations: 0 / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.3632, allocations: 11.92 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.3633, allocations: 19.86 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.028e-06/0.3633, allocations: 0 / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.3634, allocations: 8 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.3635, allocations: 4 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.865e-05/0.3635, allocations: 23.84 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.3636, allocations: 11.94 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3636, allocations: 0 / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.531e-05/0.3636, allocations: 8 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.3637, allocations: 7.984 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.3637, allocations: 7.938 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.3638, allocations: 32.12 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3638, allocations: 0 / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3638, allocations: 0 / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.309e-06/0.3638, allocations: 0 / 1.327 GB, free: 408 kB / 1.014 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.0003339/0.3641, allocations: 274.2 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3642, allocations: 8.031 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.3642, allocations: 30.75 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.3642, allocations: 4.891 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3644, allocations: 114.5 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.3644, allocations: 384 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.3644, allocations: 4.359 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.3645, allocations: 34.2 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3645, allocations: 3.938 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.3645, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.3646, allocations: 7.938 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.3646, allocations: 8 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.3647, allocations: 132.8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.3648, allocations: 14.58 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.3648, allocations: 8.922 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3648, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3648, allocations: 42.48 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3648, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.365, allocations: 49.58 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3651, allocations: 51.41 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3652, allocations: 113.8 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3652, allocations: 29.7 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.3652, allocations: 84.14 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3652, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.3653, allocations: 21.83 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3654, allocations: 310.8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.3654, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.3654, allocations: 11.94 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.3655, allocations: 8.859 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3655, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.627e-05/0.3655, allocations: 45.64 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3655, allocations: 7.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3655, allocations: 8.031 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3656, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.3656, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3656, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.3656, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.3656, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 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 7.699e-05/0.3657, allocations: 113.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.3657, allocations: 3.938 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/0.3658, allocations: 49.11 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3658, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3658, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3658, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.3659, allocations: 128.7 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3659, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.3659, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3659, allocations: 7.875 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.3659, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3659, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.366, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.503e-05/0.366, allocations: 73.05 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.366, allocations: 4 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3661, allocations: 3.938 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-06/0.3661, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-06/0.3661, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3661, allocations: 4 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.566e-05/0.3661, allocations: 95.27 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3661, allocations: 8.031 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001922/0.3663, allocations: 0 / 1.329 GB, free: 14.22 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 (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.0004838/0.3668, allocations: 0.6243 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.3669, allocations: 11.92 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3669, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-06/0.3669, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.367, allocations: 13.5 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3681, allocations: 1.104 MB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3684, allocations: 0.6768 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.3685, allocations: 4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.3685, allocations: 15.47 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3685, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.3964, allocations: 1.498 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.56, allocations: 8.797 kB / 1.333 GB, free: 10.28 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.555389839999407] Failed to read output from testmodel.py, exit status != 0: 11.658236228002352 11.688497718 11.319111651 Calling exit ...