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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002413/0.002413, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 476.7 MB / 0.7629 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 59.91 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9885/0.9905, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002765/0.9933, allocations: 1.392 MB / 1.273 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.9934, allocations: 47.03 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.9935, allocations: 4.688 kB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.9937, allocations: 8.047 kB / 1.273 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.9938, allocations: 18.5 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.127e-06/0.9938, allocations: 0 / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.201e-05/0.9939, allocations: 20.91 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.9939, allocations: 2.766 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.994, allocations: 6.828 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.994, allocations: 13.19 kB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.994, allocations: 5.812 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.9941, allocations: 7.828 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.9941, allocations: 10.23 kB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.9942, allocations: 6.156 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.9943, allocations: 35.33 kB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9943, allocations: 0.9375 kB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9943, allocations: 0 / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.9943, allocations: 0 / 1.273 GB, free: 6.684 MB / 0.9981 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.0002973/0.9946, allocations: 332.1 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9946, allocations: 10.16 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.9947, allocations: 34.75 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.9947, allocations: 2.406 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.9948, allocations: 180.9 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.9948, allocations: 1.766 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.9949, allocations: 1.219 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.64e-05/0.9949, allocations: 34.42 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.9949, allocations: 3.938 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.995, allocations: 0.7188 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.995, allocations: 1.172 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.995, allocations: 10.61 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.9951, allocations: 162.4 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.352e-05/0.9952, allocations: 21.73 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.9952, allocations: 6.484 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.9952, allocations: 0 / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.9952, allocations: 32.8 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.9952, allocations: 0 / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.9954, allocations: 46.48 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.9954, allocations: 56.7 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.9955, allocations: 119.2 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.9955, allocations: 26.61 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.307e-05/0.9955, allocations: 81.69 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.9955, allocations: 12.67 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.9956, allocations: 12.09 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.9956, allocations: 318.5 kB / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.9956, allocations: 5.562 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-06/0.9956, allocations: 2.156 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.9957, allocations: 13.41 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9957, allocations: 0.7188 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.394e-05/0.9957, allocations: 34.7 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.9957, allocations: 11.19 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.9957, allocations: 0 / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.9958, allocations: 5.625 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/0.9958, allocations: 5.5 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9958, allocations: 1.312 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.9958, allocations: 0 / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.9958, allocations: 0.75 kB / 1.275 GB, free: 5.016 MB / 0.9981 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 4.783e-05/0.9959, allocations: 114.2 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.9959, allocations: 9.516 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/0.996, allocations: 42.8 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.996, allocations: 1.031 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.996, allocations: 4.656 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.996, allocations: 0.8125 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.158e-05/0.996, allocations: 155 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.9961, allocations: 0.8125 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.9961, allocations: 2.266 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9961, allocations: 3.938 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.9961, allocations: 1.484 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9961, allocations: 4.844 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9961, allocations: 0.75 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.339e-05/0.9961, allocations: 63 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.9962, allocations: 83.14 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.9962, allocations: 5.5 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-06/0.9962, allocations: 0 / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.9962, allocations: 5.25 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.9962, allocations: 4.75 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.9962, allocations: 91.17 kB / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9962, allocations: 0.9062 kB / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000205/0.9965, allocations: 7.984 kB / 1.275 GB, free: 4.383 MB / 0.9981 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.0003687/0.9968, allocations: 0.6257 MB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.579e-05/0.9969, allocations: 5.406 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9969, allocations: 0.7812 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.9969, allocations: 3.641 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.9971, allocations: 0.75 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007694/0.9978, allocations: 1.124 MB / 1.277 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.9982, allocations: 0.6812 MB / 1.278 GB, free: 17.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.711e-05/0.9983, allocations: 5.422 kB / 1.278 GB, free: 17.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.9983, allocations: 17.38 kB / 1.278 GB, free: 17.93 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.9983, allocations: 0.8125 kB / 1.278 GB, free: 17.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/1.022, allocations: 1.376 MB / 1.279 GB, free: 17.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/9.183, allocations: 7.578 kB / 1.279 GB, free: 17.54 MB / 1.014 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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: 15.137708236987237] Failed to read output from testmodel.py, exit status != 0: 9.250787459983258 9.265498765 8.268415367 Calling exit ...