Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001476/0.001476, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002265/0.002265, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9904/0.9904, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002106/0.002106, allocations: 70.2 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1833, allocations: 89.17 MB / 0.7281 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4482/0.6315, allocations: 65.1 MB / 0.7917 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02672/0.6582, allocations: 17.56 MB / 0.8089 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.6615, allocations: 95.69 kB / 0.809 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.664, allocations: 0.8271 MB / 0.8098 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009727/0.6737, allocations: 3.023 MB / 0.8127 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.6791, allocations: 1.686 MB / 0.8144 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006803/0.6859, allocations: 4.058 MB / 0.8183 GB, free: 436 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.688, allocations: 1.139 MB / 0.8194 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005397/0.6934, allocations: 1.997 MB / 0.8214 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.6957, allocations: 1.135 MB / 0.8225 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.696, allocations: 174.5 kB / 0.8227 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.6988, allocations: 1.154 MB / 0.8238 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.6993, allocations: 399.7 kB / 0.8242 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.7002, allocations: 0.7217 MB / 0.8249 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004471/0.7047, allocations: 3.098 MB / 0.8279 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7047, allocations: 3.938 kB / 0.8279 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.727e-06/0.7047, allocations: 3.984 kB / 0.8279 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.061e-05/0.7047, allocations: 5.375 kB / 0.8279 GB, free: 10.21 MB / 0.6075 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.003764/0.7085, allocations: 2.009 MB / 0.8299 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.7085, allocations: 9.562 kB / 0.8299 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/0.7087, allocations: 157.6 kB / 0.83 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.711, allocations: 461 kB / 0.8305 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.7142, allocations: 1.515 MB / 0.832 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/0.7143, allocations: 81.97 kB / 0.832 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.7144, allocations: 106.8 kB / 0.8321 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.717, allocations: 1.419 MB / 0.8335 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.717, allocations: 6.719 kB / 0.8335 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.7171, allocations: 42.31 kB / 0.8336 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.7171, allocations: 32.08 kB / 0.8336 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.7197, allocations: 1.099 MB / 0.8347 GB, free: 5.461 MB / 0.6075 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.009653/0.7294, allocations: 5.593 MB / 0.8401 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.7327, allocations: 0.7819 MB / 0.8409 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.7333, allocations: 265.1 kB / 0.8411 GB, free: 292 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006665/0.734, allocations: 152.7 kB / 0.8413 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.334e-05/0.734, allocations: 46.83 kB / 0.8413 GB, free: 176 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.655e-06/0.734, allocations: 0 / 0.8413 GB, free: 176 kB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.005198/0.7392, allocations: 1.261 MB / 0.8426 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.7393, allocations: 61.72 kB / 0.8426 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.7418, allocations: 1.56 MB / 0.8442 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.7419, allocations: 36.45 kB / 0.8442 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/0.7425, allocations: 0.6906 MB / 0.8449 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.7427, allocations: 180.2 kB / 0.845 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.743, allocations: 175.7 kB / 0.8452 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.7432, allocations: 339.7 kB / 0.8455 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/0.7441, allocations: 363 kB / 0.8459 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.7455, allocations: 0.9861 MB / 0.8468 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.7475, allocations: 0.8897 MB / 0.8477 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7475, allocations: 4 kB / 0.8477 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003167/0.7506, allocations: 1.193 MB / 0.8489 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.7507, allocations: 8 kB / 0.8489 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.7507, allocations: 8 kB / 0.8489 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009038/0.7516, allocations: 228.6 kB / 0.8491 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.7524, allocations: 192.8 kB / 0.8493 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009118/0.7533, allocations: 0.7201 MB / 0.85 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.7549, allocations: 215.1 kB / 0.8502 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.755, allocations: 39.98 kB / 0.8502 GB, free: 8.398 MB / 0.6231 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.0006206/0.7556, allocations: 359.1 kB / 0.8506 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.7559, allocations: 159 kB / 0.8507 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.7584, allocations: 1.159 MB / 0.8519 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.7584, allocations: 4 kB / 0.8519 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7584, allocations: 4 kB / 0.8519 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.7584, allocations: 3.984 kB / 0.8519 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005392/0.7638, allocations: 2.301 MB / 0.8541 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.7638, allocations: 96 / 0.8541 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.7642, allocations: 91.81 kB / 0.8542 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007492/0.7649, allocations: 212.6 kB / 0.8544 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.765, allocations: 20 kB / 0.8544 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.7663, allocations: 0.7763 MB / 0.8552 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7663, allocations: 0 / 0.8552 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003562/0.7699, allocations: 1.223 MB / 0.8564 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008003/0.7707, allocations: 278.7 kB / 0.8566 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.7709, allocations: 12 kB / 0.8567 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/0.7718, allocations: 75.91 kB / 0.8567 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.7719, allocations: 44.36 kB / 0.8568 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.772, allocations: 23.98 kB / 0.8568 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001952/0.7739, allocations: 1.094 MB / 0.8579 GB, free: 460 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7739, allocations: 0 / 0.8579 GB, free: 460 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001726/0.7757, allocations: 451 kB / 0.8583 GB, free: 8 kB / 0.6231 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.004669/0.7803, allocations: 2.124 MB / 0.8604 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.7826, allocations: 0.8364 MB / 0.8612 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.7826, allocations: 4 kB / 0.8612 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.7839, allocations: 423.3 kB / 0.8616 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/0.7873, allocations: 0.7282 MB / 0.8623 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.8064, allocations: 10.54 MB / 0.8726 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.8071, allocations: 0.5916 MB / 0.8732 GB, free: 336 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001154/0.8082, allocations: 268.1 kB / 0.8734 GB, free: 64 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/0.809, allocations: 0.554 MB / 0.874 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of SimCode: time 1.653e-06/0.8091, allocations: 0 / 0.874 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.911, allocations: 46.94 MB / 0.9198 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.4, allocations: 22.09 kB / 0.9198 GB, free: 1.246 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.443763968069106] Failed to read output from testmodel.py, exit status != 0: 15.549848671071231 15.572795997 14.863637285 Calling exit ...