Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001736/0.001736, allocations: 113 kB / 18.94 MB, free: 2.934 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.00151/0.00151, allocations: 208.2 kB / 22.25 MB, free: 5.082 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 8.031 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.234/3.234, allocations: 0.49 GB / 0.7951 GB, free: 33.56 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.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",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.002157/0.002157, allocations: 67.23 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4176, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003436/0.421, allocations: 1.524 MB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.4231, allocations: 1.231 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.4231, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.4234, allocations: 23.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.4236, allocations: 43.77 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.4239, allocations: 63.78 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.4242, allocations: 155.5 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.4244, allocations: 33.52 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.4245, allocations: 83.75 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.4247, allocations: 55.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.4247, allocations: 12 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.143e-05/0.4248, allocations: 24 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.4249, allocations: 55.81 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.425, allocations: 71.58 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.4254, allocations: 211.2 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4254, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4254, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.4254, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00077/0.4262, allocations: 421.3 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4262, allocations: 8.031 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.728e-05/0.4263, allocations: 50.67 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.4263, allocations: 16.84 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.4267, allocations: 202.6 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.4269, allocations: 222.2 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.4269, allocations: 8.375 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.4273, allocations: 164.2 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.4273, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.4273, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.4274, allocations: 19.98 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.076e-05/0.4275, allocations: 39.97 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.4287, allocations: 435.4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.4288, allocations: 34.58 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.4288, allocations: 24.84 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.4288, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.4289, allocations: 42.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.4289, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003489/0.4292, allocations: 105.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.4293, allocations: 59.34 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.4295, allocations: 211.8 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.4296, allocations: 33.7 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4297, allocations: 128.1 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.4297, allocations: 19.81 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.4298, allocations: 29.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.43, allocations: 326.8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.43, allocations: 31.91 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4302, allocations: 110.2 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.4304, allocations: 138.2 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4304, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002554/0.4306, allocations: 157.3 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4306, allocations: 9.562 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4307, allocations: 4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4307, allocations: 8.375 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4308, allocations: 19.94 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.4308, allocations: 11.92 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.4309, allocations: 11.89 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.4309, allocations: 8 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001469/0.431, allocations: 148.4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.4311, allocations: 15.91 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.4314, allocations: 115.1 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4314, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4314, allocations: 15.88 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4314, allocations: 3.984 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.4317, allocations: 200.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4317, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.4317, allocations: 15.98 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4317, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4317, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4317, allocations: 3.938 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4317, allocations: 7.938 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.432, allocations: 187.4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.432, allocations: 11.91 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.432, allocations: 3.984 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4322, allocations: 19.92 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.4323, allocations: 15.86 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.4323, allocations: 11.98 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001664/0.4325, allocations: 157.5 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4325, allocations: 4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003154/0.4328, allocations: 31.94 kB / 1.333 GB, free: 9.988 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 (8): * Single equations (assignments): 8 * 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.0007528/0.4335, allocations: 0.7476 MB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.4337, allocations: 71.83 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4337, allocations: 0 / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.4338, allocations: 27.92 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4341, allocations: 32.66 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.4364, allocations: 1.914 MB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.4369, allocations: 0.7314 MB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.437, allocations: 48.94 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.526e-05/0.4371, allocations: 51.41 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/0.4371, allocations: 4 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.4723, allocations: 4.37 MB / 1.341 GB, free: 1.953 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.76, allocations: 8.031 kB / 1.341 GB, free: 1.949 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.678781713999342] Failed to read output from testmodel.py, exit status != 0: 11.869589301000815 11.887798785 11.457737717 Calling exit ...