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.001626/0.001626, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001966/0.001966, allocations: 210 kB / 22.24 MB, free: 5.262 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.777 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.7972/0.7972, allocations: 134 MB / 446.4 MB, free: 9.953 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.001954/0.001954, allocations: 68.92 kB / 0.6185 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1692, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4112/0.5804, allocations: 65.01 MB / 0.7659 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02133/0.6017, allocations: 17.54 MB / 0.783 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/0.6047, allocations: 98.75 kB / 0.7831 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.607, allocations: 0.8243 MB / 0.7839 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008647/0.6156, allocations: 3.033 MB / 0.7868 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.62, allocations: 1.692 MB / 0.7885 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005523/0.6255, allocations: 4.063 MB / 0.7925 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.6272, allocations: 1.142 MB / 0.7936 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/0.6316, allocations: 1.87 MB / 0.7954 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.6337, allocations: 1.169 MB / 0.7965 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002655/0.634, allocations: 174.6 kB / 0.7967 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.6368, allocations: 1.156 MB / 0.7978 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.6371, allocations: 398 kB / 0.7982 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007621/0.6379, allocations: 0.7141 MB / 0.7989 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004385/0.6423, allocations: 3.123 MB / 0.802 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6423, allocations: 3.938 kB / 0.802 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6423, allocations: 0 / 0.802 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.702e-05/0.6423, allocations: 0 / 0.802 GB, free: 13.8 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.003493/0.6458, allocations: 2.002 MB / 0.8039 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.6458, allocations: 15 kB / 0.8039 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.646, allocations: 153 kB / 0.8041 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.6481, allocations: 456.2 kB / 0.8045 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.6507, allocations: 1.507 MB / 0.806 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.6508, allocations: 82.94 kB / 0.8061 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.6509, allocations: 107.6 kB / 0.8062 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.6533, allocations: 1.417 MB / 0.8076 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.6534, allocations: 0 / 0.8076 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/0.6535, allocations: 49.25 kB / 0.8076 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.6535, allocations: 29.28 kB / 0.8076 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.6559, allocations: 1.096 MB / 0.8087 GB, free: 9.07 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.008213/0.6641, allocations: 5.622 MB / 0.8142 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.6671, allocations: 0.7678 MB / 0.8149 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.6677, allocations: 260.6 kB / 0.8152 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004996/0.6682, allocations: 167.9 kB / 0.8154 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.6682, allocations: 44.91 kB / 0.8154 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.865e-06/0.6682, allocations: 0 / 0.8154 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004357/0.6726, allocations: 1.256 MB / 0.8166 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.6726, allocations: 60.97 kB / 0.8167 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.6747, allocations: 1.559 MB / 0.8182 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.6748, allocations: 41.7 kB / 0.8182 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.6754, allocations: 0.678 MB / 0.8189 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.6756, allocations: 178.5 kB / 0.8191 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.6758, allocations: 174.5 kB / 0.8192 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.676, allocations: 349.8 kB / 0.8196 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009259/0.6769, allocations: 361.8 kB / 0.8199 GB, free: 308 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.6783, allocations: 0.9845 MB / 0.8209 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.6801, allocations: 0.8858 MB / 0.8217 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.6801, allocations: 8 kB / 0.8218 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002834/0.6829, allocations: 1.189 MB / 0.8229 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6829, allocations: 12 kB / 0.8229 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6829, allocations: 8 kB / 0.8229 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008137/0.6838, allocations: 216.6 kB / 0.8231 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.6845, allocations: 199.7 kB / 0.8233 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008671/0.6854, allocations: 0.7239 MB / 0.824 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.6867, allocations: 216.9 kB / 0.8242 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.6868, allocations: 43.98 kB / 0.8243 GB, free: 11.47 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.000541/0.6874, allocations: 357.6 kB / 0.8246 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.6876, allocations: 160.1 kB / 0.8248 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.6899, allocations: 1.157 MB / 0.8259 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.69, allocations: 8 kB / 0.8259 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.69, allocations: 0 / 0.8259 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.69, allocations: 7.984 kB / 0.8259 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004909/0.6949, allocations: 2.3 MB / 0.8282 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6949, allocations: 0 / 0.8282 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.6952, allocations: 92.06 kB / 0.8283 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006751/0.6959, allocations: 200.6 kB / 0.8285 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.696, allocations: 19.98 kB / 0.8285 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.6972, allocations: 0.7709 MB / 0.8292 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6972, allocations: 3.938 kB / 0.8292 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.7004, allocations: 1.23 MB / 0.8304 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.701, allocations: 278.7 kB / 0.8307 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.7012, allocations: 12 kB / 0.8307 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.702, allocations: 67.92 kB / 0.8308 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.7021, allocations: 44.42 kB / 0.8308 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/0.7021, allocations: 27.98 kB / 0.8308 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001688/0.7038, allocations: 1.086 MB / 0.8319 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7038, allocations: 0 / 0.8319 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001285/0.7051, allocations: 455 kB / 0.8323 GB, free: 3.094 MB / 0.5919 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.004277/0.7094, allocations: 2.12 MB / 0.8344 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.7115, allocations: 0.8285 MB / 0.8352 GB, free: 108 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7115, allocations: 7.938 kB / 0.8352 GB, free: 100 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.7127, allocations: 423.4 kB / 0.8356 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/0.7159, allocations: 0.7369 MB / 0.8363 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.7337, allocations: 10.51 MB / 0.8466 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.7343, allocations: 0.5835 MB / 0.8472 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001067/0.7354, allocations: 272.1 kB / 0.8474 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007674/0.7361, allocations: 0.5422 MB / 0.848 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of SimCode: time 9.71e-07/0.7361, allocations: 0 / 0.848 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/0.8507, allocations: 46.9 MB / 0.8938 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.14, allocations: 13.45 kB / 0.8938 GB, free: 4.391 MB / 0.6544 GB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 17.74218388972804] Failed to read output from testmodel.py, exit status != 0: 14.278866299893707 14.294277448 13.648917975 Calling exit ...