Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001657/0.001657, allocations: 114.3 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.002064/0.002064, allocations: 216.8 kB / 22.26 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.826/0.826, allocations: 134 MB / 446.4 MB, free: 10.26 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001877/0.001877, allocations: 74.61 kB / 0.6185 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1776, allocations: 85.9 MB / 0.7024 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4284/0.606, allocations: 71.92 MB / 0.7727 GB, free: 16.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.629, allocations: 19.12 MB / 0.7913 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/0.6328, allocations: 94.22 kB / 0.7914 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.6353, allocations: 0.844 MB / 0.7923 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008704/0.644, allocations: 3.063 MB / 0.7952 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00479/0.6488, allocations: 1.707 MB / 0.7969 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0066/0.6554, allocations: 4.093 MB / 0.8009 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.6576, allocations: 1.154 MB / 0.802 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005054/0.6627, allocations: 1.864 MB / 0.8039 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.6656, allocations: 1.234 MB / 0.8051 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002772/0.6658, allocations: 174.8 kB / 0.8052 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.6697, allocations: 1.501 MB / 0.8067 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004577/0.6702, allocations: 398.7 kB / 0.8071 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.6715, allocations: 0.9162 MB / 0.808 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.6765, allocations: 3.167 MB / 0.8111 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.6765, allocations: 4 kB / 0.8111 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6765, allocations: 0 / 0.8111 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.6765, allocations: 0 / 0.8111 GB, free: 8.523 MB / 0.5762 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.003849/0.6804, allocations: 2.011 MB / 0.813 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.6804, allocations: 8.531 kB / 0.813 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.6806, allocations: 159.3 kB / 0.8132 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.6827, allocations: 454.6 kB / 0.8136 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.6856, allocations: 1.508 MB / 0.8151 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.6856, allocations: 77.84 kB / 0.8152 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.6858, allocations: 103.6 kB / 0.8153 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.6881, allocations: 1.319 MB / 0.8166 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.6881, allocations: 2.906 kB / 0.8166 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.6882, allocations: 42.19 kB / 0.8166 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.6882, allocations: 34.38 kB / 0.8166 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.6907, allocations: 1.102 MB / 0.8177 GB, free: 3.902 MB / 0.5762 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.009005/0.6997, allocations: 7.384 MB / 0.8249 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.7027, allocations: 0.7649 MB / 0.8257 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.7033, allocations: 270 kB / 0.8259 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005451/0.7038, allocations: 160.2 kB / 0.8261 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.7038, allocations: 42.94 kB / 0.8261 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=48): time 4.258e-06/0.7039, allocations: 4 kB / 0.8261 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004585/0.7084, allocations: 1.26 MB / 0.8273 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.7085, allocations: 59.78 kB / 0.8274 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.7109, allocations: 1.549 MB / 0.8289 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.7109, allocations: 37.7 kB / 0.829 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006613/0.7116, allocations: 0.6857 MB / 0.8296 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.7118, allocations: 178.5 kB / 0.8298 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.7121, allocations: 170.5 kB / 0.83 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.7122, allocations: 337.9 kB / 0.8303 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/0.7132, allocations: 365.8 kB / 0.8306 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.7144, allocations: 0.6621 MB / 0.8313 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.7162, allocations: 0.8865 MB / 0.8321 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.7162, allocations: 4 kB / 0.8321 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002892/0.7191, allocations: 1.193 MB / 0.8333 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.7191, allocations: 8 kB / 0.8333 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.7191, allocations: 12.48 kB / 0.8333 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008713/0.72, allocations: 220.7 kB / 0.8335 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.7207, allocations: 195.7 kB / 0.8337 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008952/0.7216, allocations: 0.7284 MB / 0.8344 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.7231, allocations: 211 kB / 0.8346 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/0.7232, allocations: 47.92 kB / 0.8347 GB, free: 2.844 MB / 0.5919 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.0006104/0.7238, allocations: 359.8 kB / 0.835 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.7241, allocations: 159 kB / 0.8352 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.7265, allocations: 1.151 MB / 0.8363 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.7265, allocations: 15.98 kB / 0.8363 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7265, allocations: 0 / 0.8363 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.7265, allocations: 3.984 kB / 0.8363 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005207/0.7317, allocations: 2.499 MB / 0.8388 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.7317, allocations: 4 kB / 0.8388 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.7321, allocations: 83.88 kB / 0.8388 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/0.7328, allocations: 212.8 kB / 0.839 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/0.7329, allocations: 15.98 kB / 0.8391 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.7342, allocations: 0.7763 MB / 0.8398 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7342, allocations: 3.938 kB / 0.8398 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.7376, allocations: 1.223 MB / 0.841 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/0.7382, allocations: 278.7 kB / 0.8413 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.7384, allocations: 19.94 kB / 0.8413 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008368/0.7393, allocations: 75.91 kB / 0.8414 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.7394, allocations: 44.42 kB / 0.8414 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.7394, allocations: 27.98 kB / 0.8414 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001885/0.7413, allocations: 1.086 MB / 0.8425 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7413, allocations: 0 / 0.8425 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001338/0.7426, allocations: 447.1 kB / 0.8429 GB, free: 10.26 MB / 0.6075 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.004354/0.747, allocations: 2.127 MB / 0.845 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.7491, allocations: 0.8323 MB / 0.8458 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7491, allocations: 0 / 0.8458 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.7504, allocations: 427.7 kB / 0.8462 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/0.7534, allocations: 0.7394 MB / 0.847 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.7713, allocations: 10.5 MB / 0.8572 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008467/0.7722, allocations: 1.172 MB / 0.8584 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001062/0.7732, allocations: 276 kB / 0.8586 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/0.774, allocations: 0.5461 MB / 0.8591 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.774, allocations: 0 / 0.8591 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08842/0.8624, allocations: 44.49 MB / 0.9026 GB, free: 13.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.32, allocations: 2.406 kB / 0.9026 GB, free: 13.11 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.973933373003092] Failed to read output from testmodel.py, exit status != 0: 15.460232784003892 15.486615687 14.805398703 Calling exit ...