Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001168/0.001168, 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.00131/0.00131, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.905/0.905, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.694e-05, allocations: 4.953 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04669/0.04671, allocations: 64.56 MB / 1.014 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.065, allocations: 17.54 MB / 1.031 GB, free: 1.125 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.06811, allocations: 99.12 kB / 1.031 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.07004, allocations: 0.8382 MB / 1.032 GB, free: 188 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.006408/0.07645, allocations: 3.116 MB / 1.035 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.08003, allocations: 1.779 MB / 1.036 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004703/0.08473, allocations: 4.101 MB / 1.04 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.08666, allocations: 1.134 MB / 1.041 GB, free: 6.004 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004154/0.09082, allocations: 2.426 MB / 1.044 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.09246, allocations: 1.04 MB / 1.045 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.09266, allocations: 176 kB / 1.045 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.09471, allocations: 1.169 MB / 1.046 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.095, allocations: 410.3 kB / 1.047 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006016/0.0956, allocations: 0.6001 MB / 1.047 GB, free: 188 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.5188/0.6144, allocations: 3.148 MB / 1.05 GB, free: 64.73 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.6144, allocations: 0.5 kB / 1.05 GB, free: 64.73 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6144, allocations: 4.656 kB / 1.05 GB, free: 64.73 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.6144, allocations: 0 / 1.05 GB, free: 64.73 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.002483/0.6169, allocations: 2.001 MB / 1.052 GB, free: 63.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.617, allocations: 11.44 kB / 1.052 GB, free: 63.77 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.6171, allocations: 153.3 kB / 1.052 GB, free: 63.73 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6183, allocations: 463.7 kB / 1.053 GB, free: 63.63 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.6202, allocations: 1.525 MB / 1.054 GB, free: 63.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.6202, allocations: 82.56 kB / 1.054 GB, free: 63.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.6203, allocations: 108.4 kB / 1.054 GB, free: 63.26 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.6219, allocations: 1.419 MB / 1.056 GB, free: 62.86 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.6219, allocations: 0.9375 kB / 1.056 GB, free: 62.86 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.6219, allocations: 45.78 kB / 1.056 GB, free: 62.86 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.622, allocations: 30.28 kB / 1.056 GB, free: 62.86 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.6235, allocations: 1.095 MB / 1.057 GB, free: 62.84 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.004713/0.6282, allocations: 5.605 MB / 1.062 GB, free: 60.26 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.6298, allocations: 0.774 MB / 1.063 GB, free: 60.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.6301, allocations: 269.7 kB / 1.063 GB, free: 60.21 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/0.6305, allocations: 159.9 kB / 1.064 GB, free: 60.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.6305, allocations: 40.84 kB / 1.064 GB, free: 60.18 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 3.106e-06/0.6305, allocations: 3.469 kB / 1.064 GB, free: 60.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.002573/0.6331, allocations: 1.265 MB / 1.065 GB, free: 60.02 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.6331, allocations: 60.89 kB / 1.065 GB, free: 59.96 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.6346, allocations: 1.572 MB / 1.066 GB, free: 59.77 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.6346, allocations: 37.77 kB / 1.067 GB, free: 59.73 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.635, allocations: 0.6898 MB / 1.067 GB, free: 59.49 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.6351, allocations: 170.7 kB / 1.067 GB, free: 59.38 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.6352, allocations: 175.5 kB / 1.068 GB, free: 59.35 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.6353, allocations: 337.9 kB / 1.068 GB, free: 59.05 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.6358, allocations: 360.7 kB / 1.068 GB, free: 59.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007014/0.6365, allocations: 0.9896 MB / 1.069 GB, free: 58.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.6375, allocations: 0.8932 MB / 1.07 GB, free: 57.99 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6375, allocations: 2.906 kB / 1.07 GB, free: 57.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001715/0.6392, allocations: 1.192 MB / 1.071 GB, free: 57.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6392, allocations: 12.56 kB / 1.071 GB, free: 57.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6392, allocations: 8.469 kB / 1.071 GB, free: 57.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.6398, allocations: 222.5 kB / 1.071 GB, free: 57.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.6402, allocations: 191.2 kB / 1.072 GB, free: 57.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004607/0.6407, allocations: 0.7207 MB / 1.072 GB, free: 57.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/0.6415, allocations: 207.6 kB / 1.073 GB, free: 57.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.6416, allocations: 45.84 kB / 1.073 GB, free: 57.23 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.0004296/0.642, allocations: 363.7 kB / 1.073 GB, free: 57.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.6422, allocations: 158.4 kB / 1.073 GB, free: 57.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.6436, allocations: 1.16 MB / 1.074 GB, free: 56.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.6436, allocations: 10.83 kB / 1.074 GB, free: 56.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6436, allocations: 0 / 1.074 GB, free: 56.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.6436, allocations: 14.16 kB / 1.074 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.6464, allocations: 2.289 MB / 1.076 GB, free: 56.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6464, allocations: 0 / 1.076 GB, free: 56.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.6466, allocations: 84.38 kB / 1.077 GB, free: 56.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.647, allocations: 215 kB / 1.077 GB, free: 56.49 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.6471, allocations: 20.44 kB / 1.077 GB, free: 56.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005946/0.6477, allocations: 0.7655 MB / 1.077 GB, free: 55.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6477, allocations: 2.906 kB / 1.077 GB, free: 55.96 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.6494, allocations: 1.225 MB / 1.079 GB, free: 55.66 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.6498, allocations: 282 kB / 1.079 GB, free: 55.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6499, allocations: 13.84 kB / 1.079 GB, free: 55.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.6504, allocations: 69.7 kB / 1.079 GB, free: 55.57 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.6504, allocations: 44.19 kB / 1.079 GB, free: 55.56 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.6505, allocations: 30.91 kB / 1.079 GB, free: 55.56 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001116/0.6516, allocations: 1.09 MB / 1.08 GB, free: 55.45 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6516, allocations: 0 / 1.08 GB, free: 55.45 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001045/0.6526, allocations: 450 kB / 1.081 GB, free: 55.39 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.002933/0.6556, allocations: 2.145 MB / 1.083 GB, free: 54.48 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.6571, allocations: 0.8264 MB / 1.084 GB, free: 54.47 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6571, allocations: 1.25 kB / 1.084 GB, free: 54.47 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007146/0.6578, allocations: 425.8 kB / 1.084 GB, free: 54.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.6599, allocations: 0.7475 MB / 1.085 GB, free: 54.36 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.6741, allocations: 10.55 MB / 1.095 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.6747, allocations: 0.5883 MB / 1.096 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001177/0.6759, allocations: 266 kB / 1.096 GB, free: 51.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/0.6764, allocations: 0.5526 MB / 1.096 GB, free: 50.69 MB / 0.9948 GB Notification: Performance of SimCode: time 1.473e-06/0.6764, allocations: 0 / 1.096 GB, free: 50.69 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07881/0.7553, allocations: 47.1 MB / 1.142 GB, free: 39.73 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.876/9.631, allocations: 3.453 kB / 1.142 GB, free: 39.73 MB / 0.9948 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.93483099527657] Failed to read output from testmodel.py, exit status != 0: 9.744552687741816 9.757336247 9.140862754 Calling exit ...