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.0008945/0.0008945, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001522/0.001522, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9213/0.9213, allocations: 230.6 MB / 256 MB, free: 3.453 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.737/0.737, allocations: 203.8 MB / 0.5042 GB, free: 0.7344 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.001336/0.001336, allocations: 63.89 kB / 0.7182 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4218, allocations: 102 MB / 0.8179 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04673/0.4685, allocations: 72.06 MB / 0.8882 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.4857, allocations: 19.11 MB / 0.9069 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.4876, allocations: 94.97 kB / 0.907 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.4893, allocations: 0.8457 MB / 0.9078 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005948/0.4953, allocations: 3.052 MB / 0.9108 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.4983, allocations: 1.751 MB / 0.9125 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00402/0.5023, allocations: 4.09 MB / 0.9165 GB, free: 14.01 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.5035, allocations: 1.161 MB / 0.9176 GB, free: 12.81 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002916/0.5064, allocations: 1.99 MB / 0.9196 GB, free: 10.81 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.5074, allocations: 1.21 MB / 0.9207 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.5076, allocations: 176 kB / 0.9209 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.5095, allocations: 1.486 MB / 0.9224 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.5097, allocations: 402.4 kB / 0.9227 GB, free: 7.543 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.5104, allocations: 0.9216 MB / 0.9236 GB, free: 6.617 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.5129, allocations: 3.16 MB / 0.9267 GB, free: 3.449 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5129, allocations: 0 / 0.9267 GB, free: 3.449 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5129, allocations: 0 / 0.9267 GB, free: 3.449 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.5129, allocations: 0 / 0.9267 GB, free: 3.449 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.001998/0.5149, allocations: 2.019 MB / 0.9287 GB, free: 1.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5149, allocations: 13.47 kB / 0.9287 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.5151, allocations: 152.6 kB / 0.9289 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.5161, allocations: 455.2 kB / 0.9293 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.5178, allocations: 1.52 MB / 0.9308 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.5179, allocations: 82.03 kB / 0.9309 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.518, allocations: 104 kB / 0.931 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.5194, allocations: 1.313 MB / 0.9322 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.5195, allocations: 7.938 kB / 0.9322 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/0.5195, allocations: 47.94 kB / 0.9323 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.5196, allocations: 24 kB / 0.9323 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.5211, allocations: 1.104 MB / 0.9334 GB, free: 12.41 MB / 0.7136 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.005057/0.5262, allocations: 7.385 MB / 0.9406 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.5277, allocations: 0.7736 MB / 0.9414 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.5281, allocations: 274 kB / 0.9416 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.5283, allocations: 156.3 kB / 0.9418 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.5284, allocations: 42.94 kB / 0.9418 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.853e-06/0.5284, allocations: 0 / 0.9418 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.00235/0.5307, allocations: 1.26 MB / 0.943 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.5307, allocations: 59.84 kB / 0.9431 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.5323, allocations: 1.55 MB / 0.9446 GB, free: 388 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.5323, allocations: 41.69 kB / 0.9447 GB, free: 340 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.5327, allocations: 0.6857 MB / 0.9453 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5328, allocations: 182.5 kB / 0.9455 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.533, allocations: 166.5 kB / 0.9457 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.5331, allocations: 337.9 kB / 0.946 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.5336, allocations: 365.8 kB / 0.9463 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/0.5343, allocations: 0.6621 MB / 0.947 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.5353, allocations: 0.8897 MB / 0.9478 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5353, allocations: 4 kB / 0.9478 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001579/0.5369, allocations: 1.197 MB / 0.949 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5369, allocations: 11.98 kB / 0.949 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5369, allocations: 8 kB / 0.949 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.5375, allocations: 224.6 kB / 0.9493 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.5379, allocations: 187.7 kB / 0.9494 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005773/0.5385, allocations: 0.7279 MB / 0.9501 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.5392, allocations: 215 kB / 0.9503 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.5392, allocations: 43.98 kB / 0.9504 GB, free: 10.18 MB / 0.7292 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.0005351/0.5398, allocations: 353.6 kB / 0.9507 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5399, allocations: 163 kB / 0.9509 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.5413, allocations: 1.156 MB / 0.952 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.5414, allocations: 11.94 kB / 0.952 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5414, allocations: 4 kB / 0.952 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.5414, allocations: 3.984 kB / 0.952 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.5442, allocations: 2.495 MB / 0.9545 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/0.5443, allocations: 4 kB / 0.9545 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.5444, allocations: 83.88 kB / 0.9545 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.5449, allocations: 216.6 kB / 0.9548 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.5449, allocations: 20 kB / 0.9548 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006576/0.5455, allocations: 0.7669 MB / 0.9555 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5455, allocations: 4.031 kB / 0.9555 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.5472, allocations: 1.223 MB / 0.9567 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.5475, allocations: 282.6 kB / 0.957 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/0.5476, allocations: 15.98 kB / 0.957 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.5481, allocations: 67.92 kB / 0.9571 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.5481, allocations: 48.36 kB / 0.9571 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.5482, allocations: 31.98 kB / 0.9571 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001187/0.5494, allocations: 1.09 MB / 0.9582 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5494, allocations: 0 / 0.9582 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008723/0.5502, allocations: 451.1 kB / 0.9586 GB, free: 1.586 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.002356/0.5526, allocations: 2.115 MB / 0.9607 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.5538, allocations: 0.8325 MB / 0.9615 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5538, allocations: 0 / 0.9615 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.5544, allocations: 419.4 kB / 0.9619 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.556, allocations: 0.7408 MB / 0.9626 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.5672, allocations: 10.55 MB / 0.9729 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.5677, allocations: 1.168 MB / 0.9741 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007192/0.5684, allocations: 272.1 kB / 0.9743 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.5689, allocations: 0.5461 MB / 0.9749 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.5689, allocations: 4 kB / 0.9749 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05449/0.6234, allocations: 44.53 MB / 1.018 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.951/10.57, allocations: 2.656 kB / 1.018 GB, free: 4.449 MB / 0.7917 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 13.492484108079225] Failed to read output from testmodel.py, exit status != 0: 10.679671007907018 10.687704183 10.173055437 Calling exit ...