Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001089/0.001089, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001227/0.001227, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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.9182/0.9182, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.753/1.753, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.184e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5134/0.5135, allocations: 64.61 MB / 1.063 GB, free: 54.13 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.5281, allocations: 17.51 MB / 1.08 GB, free: 43.72 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.5305, allocations: 94.81 kB / 1.08 GB, free: 43.67 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.5325, allocations: 0.8351 MB / 1.081 GB, free: 43.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006885/0.5394, allocations: 3.092 MB / 1.084 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.5434, allocations: 1.747 MB / 1.085 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006912/0.5503, allocations: 4.037 MB / 1.089 GB, free: 38.18 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.5521, allocations: 1.097 MB / 1.09 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004587/0.5567, allocations: 2.536 MB / 1.093 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.5587, allocations: 1.004 MB / 1.094 GB, free: 35.92 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.559, allocations: 175.2 kB / 1.094 GB, free: 35.92 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.5614, allocations: 1.167 MB / 1.095 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.5617, allocations: 403 kB / 1.096 GB, free: 35.27 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009267/0.5626, allocations: 0.608 MB / 1.096 GB, free: 34.99 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.5678, allocations: 3.138 MB / 1.099 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5678, allocations: 4 kB / 1.099 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5678, allocations: 0 / 1.099 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001034/0.5679, allocations: 4 kB / 1.099 GB, free: 33.84 MB / 0.9948 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.003654/0.5716, allocations: 1.991 MB / 1.101 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.5717, allocations: 10.62 kB / 1.101 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.5718, allocations: 157.6 kB / 1.101 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.5733, allocations: 461.2 kB / 1.102 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.5759, allocations: 1.509 MB / 1.103 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.576, allocations: 82 kB / 1.103 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.5761, allocations: 106.4 kB / 1.103 GB, free: 31.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.5782, allocations: 1.416 MB / 1.105 GB, free: 30.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.5782, allocations: 5.156 kB / 1.105 GB, free: 30.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.538e-05/0.5783, allocations: 44.02 kB / 1.105 GB, free: 30.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.5783, allocations: 26.03 kB / 1.105 GB, free: 30.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.5802, allocations: 1.095 MB / 1.106 GB, free: 30.05 MB / 0.9948 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.006211/0.5864, allocations: 5.604 MB / 1.111 GB, free: 26.08 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.5883, allocations: 0.7682 MB / 1.112 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.5887, allocations: 265.8 kB / 1.113 GB, free: 25.73 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/0.5891, allocations: 159.2 kB / 1.113 GB, free: 25.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.5891, allocations: 38.38 kB / 1.113 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 4.098e-06/0.5891, allocations: 5.078 kB / 1.113 GB, free: 25.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.00311/0.5922, allocations: 1.265 MB / 1.114 GB, free: 25.24 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.5922, allocations: 57.92 kB / 1.114 GB, free: 25.18 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.5943, allocations: 1.561 MB / 1.116 GB, free: 24.54 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.5944, allocations: 38.08 kB / 1.116 GB, free: 24.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.5948, allocations: 0.6817 MB / 1.116 GB, free: 23.96 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.5949, allocations: 181.8 kB / 1.116 GB, free: 23.81 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.5951, allocations: 168.9 kB / 1.117 GB, free: 23.73 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.5952, allocations: 333.8 kB / 1.117 GB, free: 23.41 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.5958, allocations: 368.4 kB / 1.117 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007967/0.5966, allocations: 0.9907 MB / 1.118 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.5977, allocations: 0.8889 MB / 1.119 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.5977, allocations: 3.344 kB / 1.119 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001981/0.5997, allocations: 1.196 MB / 1.12 GB, free: 21.34 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5997, allocations: 8.625 kB / 1.12 GB, free: 21.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.5997, allocations: 8.625 kB / 1.12 GB, free: 21.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.6004, allocations: 221.4 kB / 1.12 GB, free: 21.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.6008, allocations: 188.9 kB / 1.121 GB, free: 21.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005206/0.6014, allocations: 0.7233 MB / 1.121 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6024, allocations: 206.6 kB / 1.122 GB, free: 20.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-05/0.6025, allocations: 49.8 kB / 1.122 GB, free: 20.57 MB / 0.9948 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.0005013/0.603, allocations: 361.8 kB / 1.122 GB, free: 20.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.6032, allocations: 154.5 kB / 1.122 GB, free: 20.23 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.6049, allocations: 1.158 MB / 1.123 GB, free: 19.77 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.6049, allocations: 16.55 kB / 1.123 GB, free: 19.77 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6049, allocations: 0 / 1.123 GB, free: 19.77 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.605, allocations: 4.406 kB / 1.123 GB, free: 19.77 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.6084, allocations: 2.292 MB / 1.125 GB, free: 18.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.6084, allocations: 1.969 kB / 1.125 GB, free: 18.67 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.6086, allocations: 84.84 kB / 1.126 GB, free: 18.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.6092, allocations: 219 kB / 1.126 GB, free: 18.61 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.6092, allocations: 17.73 kB / 1.126 GB, free: 18.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006869/0.6099, allocations: 0.7705 MB / 1.127 GB, free: 17.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6099, allocations: 2.312 kB / 1.127 GB, free: 17.99 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.6119, allocations: 1.217 MB / 1.128 GB, free: 17.45 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/0.6125, allocations: 281.7 kB / 1.128 GB, free: 17.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.6126, allocations: 16.56 kB / 1.128 GB, free: 17.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.6131, allocations: 70.36 kB / 1.128 GB, free: 17.24 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.6132, allocations: 48.38 kB / 1.128 GB, free: 17.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.6132, allocations: 29.44 kB / 1.128 GB, free: 17.23 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001442/0.6146, allocations: 1.083 MB / 1.129 GB, free: 16.79 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6146, allocations: 0 / 1.129 GB, free: 16.79 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001354/0.616, allocations: 451.9 kB / 1.13 GB, free: 16.69 MB / 0.9948 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.003291/0.6193, allocations: 2.13 MB / 1.132 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.621, allocations: 0.8329 MB / 1.133 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.621, allocations: 1.062 kB / 1.133 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/0.6218, allocations: 423.2 kB / 1.133 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.6241, allocations: 0.7124 MB / 1.134 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.6392, allocations: 10.53 MB / 1.144 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.6398, allocations: 0.584 MB / 1.144 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001226/0.641, allocations: 264.3 kB / 1.145 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/0.6416, allocations: 0.5488 MB / 1.145 GB, free: 8.898 MB / 0.9948 GB Notification: Performance of SimCode: time 1.242e-06/0.6416, allocations: 0 / 1.145 GB, free: 8.898 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06608/0.7077, allocations: 46.64 MB / 1.191 GB, free: 13.67 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/9.314, allocations: 15.47 kB / 1.191 GB, free: 13.66 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.065033326856792] Failed to read output from testmodel.py, exit status != 0: 9.422364996746182 9.431596846 8.861784405 Calling exit ...