Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001834/0.001834, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001702/0.001702, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.475/1.475, 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.345/3.345, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.002122/0.002122, allocations: 70.09 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07564/0.445, allocations: 65.18 MB / 1.427 GB, free: 12.7 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02741/0.4724, allocations: 17.55 MB / 1.444 GB, free: 11.09 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.4759, allocations: 95.19 kB / 1.444 GB, free: 11 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.4787, allocations: 0.8345 MB / 1.445 GB, free: 10.16 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.009726/0.4884, allocations: 3.016 MB / 1.448 GB, free: 7.133 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.493, allocations: 1.683 MB / 1.45 GB, free: 5.457 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005796/0.4988, allocations: 4.058 MB / 1.454 GB, free: 1.383 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.5006, allocations: 1.134 MB / 1.455 GB, free: 220 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.5051, allocations: 1.993 MB / 1.457 GB, free: 14.22 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.5069, allocations: 1.143 MB / 1.458 GB, free: 13.07 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.5072, allocations: 176 kB / 1.458 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.51, allocations: 1.15 MB / 1.459 GB, free: 11.75 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.5105, allocations: 398.4 kB / 1.459 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.5117, allocations: 0.7194 MB / 1.46 GB, free: 10.63 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.517, allocations: 3.111 MB / 1.463 GB, free: 7.512 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.517, allocations: 0 / 1.463 GB, free: 7.512 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.607e-06/0.517, allocations: 0 / 1.463 GB, free: 7.512 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.67e-05/0.5171, allocations: 0 / 1.463 GB, free: 7.512 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004268/0.5214, allocations: 2.007 MB / 1.465 GB, free: 5.457 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5214, allocations: 16.03 kB / 1.465 GB, free: 5.441 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/0.5216, allocations: 152.6 kB / 1.465 GB, free: 5.285 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.5238, allocations: 462.5 kB / 1.466 GB, free: 4.832 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.5269, allocations: 1.519 MB / 1.467 GB, free: 3.262 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.527, allocations: 82.03 kB / 1.467 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.5272, allocations: 100 kB / 1.467 GB, free: 3.082 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.5301, allocations: 1.417 MB / 1.469 GB, free: 1.531 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.5301, allocations: 7.938 kB / 1.469 GB, free: 1.523 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.5303, allocations: 47.94 kB / 1.469 GB, free: 1.477 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.5303, allocations: 31.94 kB / 1.469 GB, free: 1.445 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.533, allocations: 1.093 MB / 1.47 GB, free: 360 kB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00892/0.5419, allocations: 5.617 MB / 1.475 GB, free: 10.58 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.5452, allocations: 0.7637 MB / 1.476 GB, free: 9.809 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006723/0.5459, allocations: 266 kB / 1.476 GB, free: 9.543 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/0.5466, allocations: 168.3 kB / 1.477 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.5466, allocations: 42.94 kB / 1.477 GB, free: 9.328 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/0.5466, allocations: 3.938 kB / 1.477 GB, free: 9.324 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.005189/0.5518, allocations: 1.26 MB / 1.478 GB, free: 8.055 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.5518, allocations: 59.84 kB / 1.478 GB, free: 7.984 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.5547, allocations: 1.561 MB / 1.479 GB, free: 6.414 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.5548, allocations: 37.7 kB / 1.48 GB, free: 6.371 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008854/0.5557, allocations: 0.6858 MB / 1.48 GB, free: 5.68 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.556, allocations: 178.5 kB / 1.48 GB, free: 5.504 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.5563, allocations: 182.5 kB / 1.481 GB, free: 5.32 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002393/0.5565, allocations: 333.9 kB / 1.481 GB, free: 4.988 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.5576, allocations: 365.8 kB / 1.481 GB, free: 4.629 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.5592, allocations: 0.9845 MB / 1.482 GB, free: 3.441 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.5612, allocations: 0.8897 MB / 1.483 GB, free: 2.441 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.5612, allocations: 4 kB / 1.483 GB, free: 2.438 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003284/0.5645, allocations: 1.197 MB / 1.484 GB, free: 1.23 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.5645, allocations: 8 kB / 1.484 GB, free: 1.223 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.5645, allocations: 11.98 kB / 1.484 GB, free: 1.211 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009617/0.5655, allocations: 216.7 kB / 1.484 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.5663, allocations: 191.7 kB / 1.485 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.5673, allocations: 0.728 MB / 1.485 GB, free: 56 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.5691, allocations: 211 kB / 1.486 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5692, allocations: 43.98 kB / 1.486 GB, free: 15.8 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007444/0.5699, allocations: 353.6 kB / 1.486 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.5702, allocations: 162.9 kB / 1.486 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/0.5729, allocations: 1.159 MB / 1.487 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.5729, allocations: 4 kB / 1.487 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5729, allocations: 7.984 kB / 1.487 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5729, allocations: 0 / 1.487 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005736/0.5787, allocations: 2.304 MB / 1.489 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.5787, allocations: 0 / 1.489 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.5791, allocations: 88.06 kB / 1.49 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007861/0.5798, allocations: 208.6 kB / 1.49 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.5799, allocations: 16 kB / 1.49 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.5813, allocations: 0.7786 MB / 1.491 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5813, allocations: 3.938 kB / 1.491 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.5851, allocations: 1.226 MB / 1.492 GB, free: 9.348 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/0.5859, allocations: 278.6 kB / 1.492 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.5861, allocations: 12 kB / 1.492 GB, free: 9.062 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/0.587, allocations: 75.91 kB / 1.492 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5871, allocations: 40.42 kB / 1.492 GB, free: 8.949 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/0.5872, allocations: 27.98 kB / 1.492 GB, free: 8.922 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002012/0.5892, allocations: 1.086 MB / 1.493 GB, free: 7.84 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5892, allocations: 0 / 1.493 GB, free: 7.84 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001512/0.5907, allocations: 455 kB / 1.494 GB, free: 7.395 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004892/0.5956, allocations: 2.119 MB / 1.496 GB, free: 5.223 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002421/0.598, allocations: 0.8247 MB / 1.496 GB, free: 4.402 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.598, allocations: 4.312 kB / 1.496 GB, free: 4.398 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.5994, allocations: 427 kB / 1.497 GB, free: 3.98 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/0.6029, allocations: 0.7469 MB / 1.498 GB, free: 3.246 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/0.6237, allocations: 10.53 MB / 1.508 GB, free: 8.332 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.6244, allocations: 0.5877 MB / 1.508 GB, free: 7.715 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001229/0.6257, allocations: 264.1 kB / 1.509 GB, free: 7.453 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/0.6265, allocations: 0.55 MB / 1.509 GB, free: 6.902 MB / 1.201 GB Notification: Performance of SimCode: time 1.493e-06/0.6265, allocations: 0 / 1.509 GB, free: 6.902 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.7271, allocations: 46.96 MB / 1.555 GB, free: 8.707 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.34, allocations: 15.12 kB / 1.555 GB, free: 8.695 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 22.49408015795052] Failed to read output from testmodel.py, exit status != 0: 15.489057995844632 15.518302648 14.995440096 Calling exit ...