Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007666/0.0007666, 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.0007973/0.0007973, 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.9063/0.9063, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.762/1.762, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.445e-05, allocations: 8.812 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04405/0.04407, allocations: 64.65 MB / 1.044 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.5334/0.5774, allocations: 17.53 MB / 1.061 GB, free: 57.4 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.5801, allocations: 98.16 kB / 1.061 GB, free: 57.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.5824, allocations: 0.8347 MB / 1.062 GB, free: 57.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.007509/0.5899, allocations: 3.107 MB / 1.065 GB, free: 56.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.5937, allocations: 1.784 MB / 1.067 GB, free: 56.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004756/0.5984, allocations: 4.078 MB / 1.071 GB, free: 55.21 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.6001, allocations: 1.139 MB / 1.072 GB, free: 54.64 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.6045, allocations: 2.557 MB / 1.074 GB, free: 53.55 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.6062, allocations: 1.01 MB / 1.075 GB, free: 53.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.6065, allocations: 175.7 kB / 1.076 GB, free: 53.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.6091, allocations: 1.164 MB / 1.077 GB, free: 53.03 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.6094, allocations: 411.9 kB / 1.077 GB, free: 52.76 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007606/0.6102, allocations: 0.5983 MB / 1.078 GB, free: 52.5 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.6143, allocations: 3.155 MB / 1.081 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6143, allocations: 0 / 1.081 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6143, allocations: 0 / 1.081 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.12e-05/0.6144, allocations: 3.938 kB / 1.081 GB, free: 51.51 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.002593/0.617, allocations: 2.001 MB / 1.083 GB, free: 50.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.617, allocations: 8.875 kB / 1.083 GB, free: 50.23 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.6171, allocations: 155.4 kB / 1.083 GB, free: 50.12 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.6183, allocations: 452.2 kB / 1.083 GB, free: 50.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.6201, allocations: 1.539 MB / 1.085 GB, free: 49.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.6202, allocations: 77.78 kB / 1.085 GB, free: 49.11 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.6202, allocations: 107.4 kB / 1.085 GB, free: 49.07 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.6217, allocations: 1.414 MB / 1.086 GB, free: 48.26 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.6217, allocations: 7.297 kB / 1.086 GB, free: 48.26 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.6218, allocations: 42.47 kB / 1.086 GB, free: 48.23 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.6218, allocations: 26.09 kB / 1.087 GB, free: 48.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.6237, allocations: 1.097 MB / 1.088 GB, free: 47.85 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.005249/0.629, allocations: 5.606 MB / 1.093 GB, free: 44.01 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.6308, allocations: 0.7683 MB / 1.094 GB, free: 43.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.6312, allocations: 262.4 kB / 1.094 GB, free: 43.68 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/0.6316, allocations: 158.7 kB / 1.094 GB, free: 43.64 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6316, allocations: 46.48 kB / 1.094 GB, free: 43.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 3.346e-06/0.6316, allocations: 0 / 1.094 GB, free: 43.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.002923/0.6345, allocations: 1.269 MB / 1.095 GB, free: 43.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.6345, allocations: 60.69 kB / 1.096 GB, free: 43.13 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.6367, allocations: 1.568 MB / 1.097 GB, free: 42.49 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.6368, allocations: 38.02 kB / 1.097 GB, free: 42.45 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.6372, allocations: 0.6834 MB / 1.098 GB, free: 41.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.6373, allocations: 175.7 kB / 1.098 GB, free: 41.77 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.6375, allocations: 169.4 kB / 1.098 GB, free: 41.69 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.6376, allocations: 334.2 kB / 1.098 GB, free: 41.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.6382, allocations: 368.4 kB / 1.099 GB, free: 41.25 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008784/0.6391, allocations: 0.9937 MB / 1.1 GB, free: 40.37 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.6404, allocations: 0.8827 MB / 1.101 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.6404, allocations: 2.656 kB / 1.101 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002248/0.6426, allocations: 1.201 MB / 1.102 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.6427, allocations: 8.594 kB / 1.102 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.6427, allocations: 14.62 kB / 1.102 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007589/0.6434, allocations: 218.9 kB / 1.102 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.644, allocations: 191.9 kB / 1.102 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006568/0.6446, allocations: 0.7155 MB / 1.103 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6457, allocations: 219.3 kB / 1.103 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.6458, allocations: 40.55 kB / 1.103 GB, free: 38.65 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.0005758/0.6464, allocations: 363.4 kB / 1.104 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.6466, allocations: 161.8 kB / 1.104 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.6484, allocations: 1.147 MB / 1.105 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.6484, allocations: 12.94 kB / 1.105 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.6484, allocations: 1.156 kB / 1.105 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.6484, allocations: 3.047 kB / 1.105 GB, free: 37.87 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.6519, allocations: 2.303 MB / 1.107 GB, free: 36.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.6519, allocations: 1.375 kB / 1.107 GB, free: 36.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.6521, allocations: 85.62 kB / 1.107 GB, free: 36.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/0.6526, allocations: 213.5 kB / 1.107 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.6527, allocations: 17.06 kB / 1.107 GB, free: 36.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006644/0.6533, allocations: 0.7673 MB / 1.108 GB, free: 36.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6533, allocations: 1.469 kB / 1.108 GB, free: 36.15 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.6554, allocations: 1.227 MB / 1.109 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.6559, allocations: 284.3 kB / 1.11 GB, free: 35.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.656, allocations: 14.08 kB / 1.11 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.6565, allocations: 74.64 kB / 1.11 GB, free: 35.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.6566, allocations: 43.98 kB / 1.11 GB, free: 35.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.6566, allocations: 28.58 kB / 1.11 GB, free: 35.39 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001504/0.6581, allocations: 1.092 MB / 1.111 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6581, allocations: 1.25 kB / 1.111 GB, free: 34.95 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001304/0.6595, allocations: 449.2 kB / 1.111 GB, free: 34.85 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.002805/0.6623, allocations: 2.133 MB / 1.113 GB, free: 33.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.664, allocations: 0.8263 MB / 1.114 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.664, allocations: 5.156 kB / 1.114 GB, free: 33.44 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007519/0.6647, allocations: 433.9 kB / 1.115 GB, free: 33.33 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.667, allocations: 0.7389 MB / 1.115 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.6842, allocations: 10.57 MB / 1.126 GB, free: 27.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.6849, allocations: 0.5876 MB / 1.126 GB, free: 27.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001416/0.6863, allocations: 272.5 kB / 1.126 GB, free: 27.67 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/0.687, allocations: 0.5498 MB / 1.127 GB, free: 27.26 MB / 0.9948 GB Notification: Performance of SimCode: time 2.034e-06/0.687, allocations: 0 / 1.127 GB, free: 27.26 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07244/0.7594, allocations: 47.11 MB / 1.173 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.191/9.95, allocations: 4.062 kB / 1.173 GB, free: 7.379 MB / 0.9948 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.284515995532274] Failed to read output from testmodel.py, exit status != 0: 10.059972022660077 10.072248052 9.455397080000001 Calling exit ...