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.002279/0.002279, allocations: 113.3 kB / 17.12 MB, free: 6.047 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.002929/0.002929, allocations: 208.3 kB / 20.09 MB, free: 3.094 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.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.9757/0.9757, allocations: 150 MB / 459.5 MB, free: 5.242 MB / 350.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.002288/0.002288, allocations: 77.69 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1791, allocations: 89.13 MB / 0.7232 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08004/0.2591, allocations: 71.34 MB / 0.7928 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02786/0.287, allocations: 19.01 MB / 0.8114 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.2894, allocations: 95.19 kB / 0.8115 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.2918, allocations: 0.8579 MB / 0.8123 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008034/0.2998, allocations: 2.986 MB / 0.8152 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.3041, allocations: 1.662 MB / 0.8168 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006216/0.3103, allocations: 4.038 MB / 0.8208 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.3126, allocations: 1.176 MB / 0.8219 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005197/0.3178, allocations: 1.956 MB / 0.8238 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002621/0.3205, allocations: 1.214 MB / 0.825 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.3208, allocations: 176 kB / 0.8252 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.3245, allocations: 1.459 MB / 0.8266 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000867/0.3254, allocations: 406.4 kB / 0.827 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.3273, allocations: 0.9176 MB / 0.8279 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006239/0.3336, allocations: 3.161 MB / 0.831 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3336, allocations: 0 / 0.831 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3336, allocations: 0 / 0.831 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.89e-05/0.3336, allocations: 0 / 0.831 GB, free: 5.184 MB / 0.6387 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.00449/0.3381, allocations: 2.083 MB / 0.833 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3382, allocations: 8.031 kB / 0.833 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002122/0.3384, allocations: 160.6 kB / 0.8332 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/0.3408, allocations: 458.3 kB / 0.8336 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/0.3438, allocations: 1.58 MB / 0.8352 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.3439, allocations: 82.03 kB / 0.8353 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.344, allocations: 100 kB / 0.8353 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.3467, allocations: 1.317 MB / 0.8366 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.3467, allocations: 3.938 kB / 0.8366 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.3469, allocations: 47.94 kB / 0.8367 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.3469, allocations: 28 kB / 0.8367 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.3497, allocations: 1.097 MB / 0.8378 GB, free: 14 MB / 0.6544 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.009565/0.3593, allocations: 7.515 MB / 0.8451 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.3626, allocations: 0.7768 MB / 0.8459 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006462/0.3632, allocations: 266 kB / 0.8461 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.3647, allocations: 1.722 MB / 0.8478 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.3647, allocations: 42.94 kB / 0.8479 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.494e-06/0.3647, allocations: 3.938 kB / 0.8479 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.005275/0.37, allocations: 1.339 MB / 0.8492 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.37, allocations: 55.84 kB / 0.8492 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.3726, allocations: 1.554 MB / 0.8507 GB, free: 15.76 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.3727, allocations: 37.7 kB / 0.8508 GB, free: 15.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/0.3734, allocations: 0.6858 MB / 0.8514 GB, free: 15.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.3736, allocations: 174.5 kB / 0.8516 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.3739, allocations: 174.5 kB / 0.8518 GB, free: 14.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.374, allocations: 341.9 kB / 0.8521 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.3751, allocations: 365.8 kB / 0.8524 GB, free: 13.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.3765, allocations: 0.6585 MB / 0.8531 GB, free: 13.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.3785, allocations: 0.8867 MB / 0.854 GB, free: 12.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.3785, allocations: 0 / 0.854 GB, free: 12.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003624/0.3821, allocations: 1.202 MB / 0.8551 GB, free: 10.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.3822, allocations: 12 kB / 0.8551 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.3822, allocations: 8 kB / 0.8551 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.3832, allocations: 216.7 kB / 0.8554 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.384, allocations: 187.7 kB / 0.8555 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.3851, allocations: 0.7201 MB / 0.8562 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.3869, allocations: 219 kB / 0.8564 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.387, allocations: 39.98 kB / 0.8565 GB, free: 9.574 MB / 0.67 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.0009763/0.388, allocations: 358.5 kB / 0.8568 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/0.3887, allocations: 170.8 kB / 0.857 GB, free: 9.047 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.3917, allocations: 1.135 MB / 0.8581 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.3917, allocations: 8 kB / 0.8581 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3917, allocations: 0 / 0.8581 GB, free: 7.906 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.3917, allocations: 3.984 kB / 0.8581 GB, free: 7.902 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006095/0.3978, allocations: 2.51 MB / 0.8606 GB, free: 5.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.3978, allocations: 0 / 0.8606 GB, free: 5.309 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.3982, allocations: 87.88 kB / 0.8606 GB, free: 5.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/0.3991, allocations: 208.7 kB / 0.8608 GB, free: 5.016 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.3991, allocations: 20 kB / 0.8609 GB, free: 4.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.4006, allocations: 0.7786 MB / 0.8616 GB, free: 4.191 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4006, allocations: 7.969 kB / 0.8616 GB, free: 4.184 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.4045, allocations: 1.208 MB / 0.8628 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008377/0.4054, allocations: 363.7 kB / 0.8632 GB, free: 2.559 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.4058, allocations: 12 kB / 0.8632 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.407, allocations: 71.91 kB / 0.8632 GB, free: 2.477 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4071, allocations: 40.52 kB / 0.8633 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/0.4072, allocations: 23.98 kB / 0.8633 GB, free: 2.414 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002379/0.4095, allocations: 1.094 MB / 0.8644 GB, free: 1.324 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4095, allocations: 0 / 0.8644 GB, free: 1.324 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001733/0.4113, allocations: 451.1 kB / 0.8648 GB, free: 0.8828 MB / 0.67 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.4068/0.818, allocations: 2.107 MB / 0.8669 GB, free: 138 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.8204, allocations: 0.8236 MB / 0.8677 GB, free: 138 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.8204, allocations: 1.188 kB / 0.8677 GB, free: 138 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.8218, allocations: 419 kB / 0.8681 GB, free: 138 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/0.8252, allocations: 0.7408 MB / 0.8688 GB, free: 138 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.8439, allocations: 10.51 MB / 0.879 GB, free: 133.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/0.8447, allocations: 1.168 MB / 0.8802 GB, free: 132.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001253/0.846, allocations: 271.6 kB / 0.8804 GB, free: 132.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/0.8467, allocations: 0.551 MB / 0.881 GB, free: 132 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.8467, allocations: 0 / 0.881 GB, free: 132 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08201/0.9287, allocations: 43.87 MB / 0.9238 GB, free: 95.74 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.64, allocations: 18.67 kB / 0.9238 GB, free: 95.73 MB / 0.67 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 sys.exit(0), Time elapsed: 19.876934102969244] Failed to read output from testmodel.py, exit status != 0: 15.766346828080714 15.78266826 15.445291301 Calling exit ...