Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.00147/0.00147, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 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.001145/0.001145, allocations: 219.8 kB / 23.02 MB, free: 2.957 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.9921/0.9921, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.978/1.978, allocations: 0.5045 GB / 0.8104 GB, free: 2.73 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_13_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_13_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.7805, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04762/0.8281, allocations: 65.16 MB / 1.416 GB, free: 288 kB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.0202/0.8483, allocations: 17.52 MB / 1.433 GB, free: 14.71 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003511/0.8519, allocations: 95.19 kB / 1.433 GB, free: 14.62 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.8549, allocations: 0.8229 MB / 1.434 GB, free: 13.79 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.008843/0.8637, allocations: 3.014 MB / 1.437 GB, free: 10.76 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.8675, allocations: 1.675 MB / 1.439 GB, free: 9.094 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.005083/0.8726, allocations: 4.023 MB / 1.443 GB, free: 5.062 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.8743, allocations: 1.088 MB / 1.444 GB, free: 3.938 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004279/0.8786, allocations: 1.991 MB / 1.446 GB, free: 1.941 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.8807, allocations: 1.136 MB / 1.447 GB, free: 0.8008 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.8812, allocations: 172 kB / 1.447 GB, free: 0.6328 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.8836, allocations: 1.15 MB / 1.448 GB, free: 15.48 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.0004872/0.8841, allocations: 394.5 kB / 1.448 GB, free: 15.09 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.8852, allocations: 0.7272 MB / 1.449 GB, free: 14.36 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.004843/0.89, allocations: 3.095 MB / 1.452 GB, free: 11.26 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.89, allocations: 0 / 1.452 GB, free: 11.26 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.366e-06/0.8901, allocations: 4 kB / 1.452 GB, free: 11.25 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001034/0.8902, allocations: 0 / 1.452 GB, free: 11.25 MB / 1.135 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.004361/0.8945, allocations: 2.004 MB / 1.454 GB, free: 9.203 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.8946, allocations: 8.922 kB / 1.454 GB, free: 9.195 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.8948, allocations: 152.6 kB / 1.454 GB, free: 9.039 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.8961, allocations: 462.5 kB / 1.455 GB, free: 8.586 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.8992, allocations: 1.515 MB / 1.456 GB, free: 7.02 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/0.8993, allocations: 86.03 kB / 1.456 GB, free: 6.934 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.8994, allocations: 100 kB / 1.456 GB, free: 6.836 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.9018, allocations: 1.421 MB / 1.458 GB, free: 5.281 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.9018, allocations: 0 / 1.458 GB, free: 5.281 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.9019, allocations: 44 kB / 1.458 GB, free: 5.238 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.9019, allocations: 31.94 kB / 1.458 GB, free: 5.207 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.9039, allocations: 1.097 MB / 1.459 GB, free: 4.109 MB / 1.135 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.007765/0.9116, allocations: 5.615 MB / 1.464 GB, free: 14.33 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.9133, allocations: 0.7662 MB / 1.465 GB, free: 13.56 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.9137, allocations: 273.9 kB / 1.465 GB, free: 13.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/0.914, allocations: 156.3 kB / 1.465 GB, free: 13.14 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.914, allocations: 39 kB / 1.466 GB, free: 13.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=48): time 2.965e-06/0.914, allocations: 0 / 1.466 GB, free: 13.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=48): time 0.002973/0.917, allocations: 1.272 MB / 1.467 GB, free: 11.81 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.917, allocations: 59.84 kB / 1.467 GB, free: 11.74 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.9189, allocations: 1.553 MB / 1.468 GB, free: 10.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.919, allocations: 41.7 kB / 1.468 GB, free: 10.13 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.9194, allocations: 0.6818 MB / 1.469 GB, free: 9.445 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.9196, allocations: 182.4 kB / 1.469 GB, free: 9.266 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.9198, allocations: 178.5 kB / 1.469 GB, free: 9.082 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9199, allocations: 337.9 kB / 1.47 GB, free: 8.746 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.9205, allocations: 361.8 kB / 1.47 GB, free: 8.395 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008784/0.9213, allocations: 0.9886 MB / 1.471 GB, free: 7.195 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.9224, allocations: 0.8819 MB / 1.472 GB, free: 6.211 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.9224, allocations: 4 kB / 1.472 GB, free: 6.207 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002015/0.9244, allocations: 1.2 MB / 1.473 GB, free: 4.996 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.9244, allocations: 12 kB / 1.473 GB, free: 4.984 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.9245, allocations: 8 kB / 1.473 GB, free: 4.977 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.9251, allocations: 224.6 kB / 1.473 GB, free: 4.754 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.9255, allocations: 191.7 kB / 1.473 GB, free: 4.566 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006071/0.9261, allocations: 0.7124 MB / 1.474 GB, free: 3.828 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.9271, allocations: 211.1 kB / 1.474 GB, free: 3.621 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.9272, allocations: 47.97 kB / 1.474 GB, free: 3.574 MB / 1.151 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.0005094/0.9277, allocations: 358 kB / 1.475 GB, free: 3.215 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.9279, allocations: 159 kB / 1.475 GB, free: 3.059 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.9295, allocations: 1.152 MB / 1.476 GB, free: 1.891 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.9295, allocations: 7.984 kB / 1.476 GB, free: 1.883 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9295, allocations: 7.938 kB / 1.476 GB, free: 1.875 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.9295, allocations: 4 kB / 1.476 GB, free: 1.871 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.9328, allocations: 2.296 MB / 1.478 GB, free: 15.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9328, allocations: 0 / 1.478 GB, free: 15.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.933, allocations: 83.88 kB / 1.478 GB, free: 15.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005227/0.9335, allocations: 216.8 kB / 1.479 GB, free: 15.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.9335, allocations: 16 kB / 1.479 GB, free: 15.19 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007579/0.9343, allocations: 0.7787 MB / 1.479 GB, free: 14.38 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9343, allocations: 0 / 1.479 GB, free: 14.38 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.9365, allocations: 1.23 MB / 1.481 GB, free: 13.11 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005478/0.937, allocations: 274.7 kB / 1.481 GB, free: 12.84 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.9371, allocations: 19.94 kB / 1.481 GB, free: 12.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.9376, allocations: 67.91 kB / 1.481 GB, free: 12.76 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.9377, allocations: 40.42 kB / 1.481 GB, free: 12.72 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.9378, allocations: 39.92 kB / 1.481 GB, free: 12.68 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00156/0.9393, allocations: 1.082 MB / 1.482 GB, free: 11.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/0.9393, allocations: 0 / 1.482 GB, free: 11.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001243/0.9406, allocations: 455.1 kB / 1.482 GB, free: 11.16 MB / 1.167 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.002815/0.9434, allocations: 2.121 MB / 1.485 GB, free: 8.98 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.9449, allocations: 0.8247 MB / 1.485 GB, free: 8.156 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9449, allocations: 0 / 1.485 GB, free: 8.156 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.9456, allocations: 423.4 kB / 1.486 GB, free: 7.746 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.9477, allocations: 0.7201 MB / 1.486 GB, free: 7.031 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.9624, allocations: 10.5 MB / 1.497 GB, free: 12.15 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.9629, allocations: 0.5874 MB / 1.497 GB, free: 11.53 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001034/0.9639, allocations: 270.6 kB / 1.498 GB, free: 11.26 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/0.9645, allocations: 0.5461 MB / 1.498 GB, free: 10.71 MB / 1.182 GB Notification: Performance of SimCode: time 1.122e-06/0.9645, allocations: 4 kB / 1.498 GB, free: 10.71 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/1.104, allocations: 46.59 MB / 1.544 GB, free: 12.93 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.629/10.73, allocations: 6.641 kB / 1.544 GB, free: 12.93 MB / 1.229 GB " [Timeout remaining time 289] (rm -f Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu) > Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu) > Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 19.493790527805686]