Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009203/0.0009203, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009094/0.0009094, allocations: 209.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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 0.9509/0.9509, allocations: 230.6 MB / 256 MB, free: 9.656 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7696/0.7696, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_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.0009408/0.0009408, allocations: 78.75 kB / 0.7182 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4592, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04763/0.5068, allocations: 65.13 MB / 0.8814 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.5232, allocations: 17.57 MB / 0.8986 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.5247, allocations: 95.19 kB / 0.8986 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.5262, allocations: 0.8228 MB / 0.8995 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.5308, allocations: 3.021 MB / 0.9024 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.5331, allocations: 1.717 MB / 0.9041 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.536, allocations: 4.066 MB / 0.908 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009207/0.5369, allocations: 1.13 MB / 0.9092 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.5393, allocations: 2.009 MB / 0.9111 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009257/0.5402, allocations: 1.135 MB / 0.9122 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.5403, allocations: 176 kB / 0.9124 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.5419, allocations: 1.15 MB / 0.9135 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.5421, allocations: 398.4 kB / 0.9139 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.5426, allocations: 0.7233 MB / 0.9146 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.545, allocations: 3.109 MB / 0.9176 GB, free: 15.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.545, allocations: 0 / 0.9176 GB, free: 15.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.545, allocations: 0 / 0.9176 GB, free: 15.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.545, allocations: 0 / 0.9176 GB, free: 15.21 MB / 0.698 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.001982/0.547, allocations: 2.007 MB / 0.9196 GB, free: 13.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.547, allocations: 11.97 kB / 0.9196 GB, free: 13.15 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.5472, allocations: 160.5 kB / 0.9198 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.5483, allocations: 455.2 kB / 0.9202 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.5499, allocations: 1.527 MB / 0.9217 GB, free: 10.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.55, allocations: 78.03 kB / 0.9218 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.5501, allocations: 107.9 kB / 0.9219 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.5517, allocations: 1.417 MB / 0.9232 GB, free: 9.234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5517, allocations: 11.92 kB / 0.9233 GB, free: 9.223 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.5518, allocations: 44 kB / 0.9233 GB, free: 9.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.5518, allocations: 28 kB / 0.9233 GB, free: 9.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.5534, allocations: 1.097 MB / 0.9244 GB, free: 8.051 MB / 0.698 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.004845/0.5582, allocations: 5.613 MB / 0.9299 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.5598, allocations: 0.7632 MB / 0.9306 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.5602, allocations: 273.9 kB / 0.9309 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.5604, allocations: 164.3 kB / 0.931 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5605, allocations: 42.94 kB / 0.9311 GB, free: 1.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.5605, allocations: 4 kB / 0.9311 GB, free: 1.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002426/0.5629, allocations: 1.264 MB / 0.9323 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.5629, allocations: 55.84 kB / 0.9324 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.5643, allocations: 1.573 MB / 0.9339 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.5644, allocations: 37.7 kB / 0.9339 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.5647, allocations: 0.6779 MB / 0.9346 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.236e-05/0.5648, allocations: 178.5 kB / 0.9348 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.565, allocations: 174.5 kB / 0.9349 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.5651, allocations: 337.9 kB / 0.9353 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/0.5659, allocations: 365.8 kB / 0.9356 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.5667, allocations: 0.9884 MB / 0.9366 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5677, allocations: 0.8896 MB / 0.9375 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5677, allocations: 4 kB / 0.9375 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001587/0.5693, allocations: 1.193 MB / 0.9386 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5693, allocations: 8 kB / 0.9386 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.5693, allocations: 8 kB / 0.9386 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.5698, allocations: 216.7 kB / 0.9388 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.5702, allocations: 199.7 kB / 0.939 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005148/0.5707, allocations: 0.72 MB / 0.9397 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.5714, allocations: 211 kB / 0.9399 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.5715, allocations: 43.98 kB / 0.94 GB, free: 7.5 MB / 0.7136 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.0003351/0.5718, allocations: 366.4 kB / 0.9403 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.5719, allocations: 155 kB / 0.9405 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.5734, allocations: 1.156 MB / 0.9416 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.5734, allocations: 15.98 kB / 0.9416 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5734, allocations: 4 kB / 0.9416 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.5734, allocations: 3.984 kB / 0.9416 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.5765, allocations: 2.293 MB / 0.9439 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.5765, allocations: 4 kB / 0.9439 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.5767, allocations: 79.89 kB / 0.9439 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.5771, allocations: 216.8 kB / 0.9442 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.5772, allocations: 19.92 kB / 0.9442 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006803/0.5778, allocations: 0.7747 MB / 0.9449 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5778, allocations: 4.031 kB / 0.9449 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.5796, allocations: 1.215 MB / 0.9461 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.5799, allocations: 286.6 kB / 0.9464 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5801, allocations: 19.94 kB / 0.9464 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.5805, allocations: 67.92 kB / 0.9465 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.5806, allocations: 44.42 kB / 0.9465 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.5806, allocations: 23.98 kB / 0.9465 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001056/0.5817, allocations: 1.09 MB / 0.9476 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5817, allocations: 0 / 0.9476 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008344/0.5825, allocations: 443.1 kB / 0.948 GB, free: 15.12 MB / 0.7292 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.002809/0.5853, allocations: 2.133 MB / 0.9501 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.5865, allocations: 0.8327 MB / 0.9509 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5865, allocations: 0 / 0.9509 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.5871, allocations: 423.3 kB / 0.9513 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.5888, allocations: 0.7391 MB / 0.9521 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.6, allocations: 10.52 MB / 0.9623 GB, free: 92 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.6004, allocations: 0.5877 MB / 0.9629 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000631/0.601, allocations: 280 kB / 0.9632 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.6018, allocations: 0.5422 MB / 0.9637 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.6018, allocations: 0 / 0.9637 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/0.6505, allocations: 46.95 MB / 1.01 GB, free: 304 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/9.279, allocations: 0 / 1.01 GB, free: 304 kB / 0.7761 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.249561250209808] Failed to read output from testmodel.py, exit status != 0: 9.384807044174522 9.393371554 8.846041889 Calling exit ...