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.001673/0.001673, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.002089/0.002089, allocations: 218.5 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.22/3.22, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings 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.002193/0.002193, allocations: 68.62 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4326, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08374/0.5163, allocations: 65.2 MB / 1.39 GB, free: 104 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02951/0.5458, allocations: 17.55 MB / 1.407 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/0.5494, allocations: 103.1 kB / 1.407 GB, free: 14.4 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.5522, allocations: 0.8268 MB / 1.408 GB, free: 13.57 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009771/0.562, allocations: 3.021 MB / 1.411 GB, free: 10.54 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.567, allocations: 1.702 MB / 1.412 GB, free: 8.84 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007162/0.5742, allocations: 4.081 MB / 1.416 GB, free: 4.754 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.5767, allocations: 1.149 MB / 1.417 GB, free: 3.566 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005771/0.5825, allocations: 2.003 MB / 1.419 GB, free: 1.559 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.5856, allocations: 1.214 MB / 1.42 GB, free: 348 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005296/0.5861, allocations: 176 kB / 1.421 GB, free: 172 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/0.59, allocations: 1.178 MB / 1.422 GB, free: 14.99 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006176/0.5906, allocations: 394.5 kB / 1.422 GB, free: 14.6 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.592, allocations: 0.7233 MB / 1.423 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005853/0.5978, allocations: 3.099 MB / 1.426 GB, free: 10.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.5978, allocations: 0 / 1.426 GB, free: 10.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.086e-06/0.5978, allocations: 0 / 1.426 GB, free: 10.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.121e-05/0.5979, allocations: 0 / 1.426 GB, free: 10.77 MB / 1.123 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.004947/0.6029, allocations: 2.015 MB / 1.428 GB, free: 8.703 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6029, allocations: 8.031 kB / 1.428 GB, free: 8.695 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/0.6031, allocations: 160.6 kB / 1.428 GB, free: 8.531 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.6054, allocations: 459.1 kB / 1.428 GB, free: 8.082 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.6089, allocations: 1.531 MB / 1.43 GB, free: 6.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.842e-05/0.609, allocations: 78.03 kB / 1.43 GB, free: 6.422 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.6091, allocations: 108 kB / 1.43 GB, free: 6.316 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.612, allocations: 1.41 MB / 1.431 GB, free: 4.773 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.612, allocations: 7.938 kB / 1.431 GB, free: 4.766 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6121, allocations: 40 kB / 1.432 GB, free: 4.727 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.6122, allocations: 28 kB / 1.432 GB, free: 4.699 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.6149, allocations: 1.101 MB / 1.433 GB, free: 3.594 MB / 1.123 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.009093/0.624, allocations: 5.62 MB / 1.438 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.6271, allocations: 0.7709 MB / 1.439 GB, free: 13.04 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.6277, allocations: 266 kB / 1.439 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005876/0.6283, allocations: 160.3 kB / 1.439 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.6284, allocations: 38.94 kB / 1.439 GB, free: 12.57 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.845e-06/0.6284, allocations: 0 / 1.439 GB, free: 12.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.004939/0.6333, allocations: 1.264 MB / 1.441 GB, free: 11.29 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.6333, allocations: 55.84 kB / 1.441 GB, free: 11.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.636, allocations: 1.565 MB / 1.442 GB, free: 9.652 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6361, allocations: 41.7 kB / 1.442 GB, free: 9.605 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.6368, allocations: 0.6858 MB / 1.443 GB, free: 8.914 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.637, allocations: 178.5 kB / 1.443 GB, free: 8.738 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.6373, allocations: 170.5 kB / 1.443 GB, free: 8.566 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6375, allocations: 334 kB / 1.443 GB, free: 8.234 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.6386, allocations: 365.8 kB / 1.444 GB, free: 7.875 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.6402, allocations: 0.9923 MB / 1.445 GB, free: 6.676 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.6423, allocations: 0.8857 MB / 1.446 GB, free: 5.684 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.6423, allocations: 4 kB / 1.446 GB, free: 5.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003395/0.6457, allocations: 1.2 MB / 1.447 GB, free: 4.469 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.6457, allocations: 9.562 kB / 1.447 GB, free: 4.461 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.6457, allocations: 12.03 kB / 1.447 GB, free: 4.449 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00089/0.6466, allocations: 216.6 kB / 1.447 GB, free: 4.234 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.6474, allocations: 195.7 kB / 1.447 GB, free: 4.043 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.6484, allocations: 0.7317 MB / 1.448 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.65, allocations: 207 kB / 1.448 GB, free: 3.082 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.6502, allocations: 47.97 kB / 1.448 GB, free: 3.035 MB / 1.139 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.0007216/0.6509, allocations: 357.6 kB / 1.449 GB, free: 2.676 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/0.6512, allocations: 159 kB / 1.449 GB, free: 2.52 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.6538, allocations: 1.149 MB / 1.45 GB, free: 1.352 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.6538, allocations: 11.98 kB / 1.45 GB, free: 1.34 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6538, allocations: 0 / 1.45 GB, free: 1.34 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.6538, allocations: 0 / 1.45 GB, free: 1.34 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/0.6594, allocations: 2.304 MB / 1.452 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.6595, allocations: 4 kB / 1.452 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.6598, allocations: 83.88 kB / 1.452 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008275/0.6607, allocations: 216.8 kB / 1.452 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.6607, allocations: 15.98 kB / 1.452 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.6622, allocations: 0.7747 MB / 1.453 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6622, allocations: 64 / 1.453 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/0.6659, allocations: 1.226 MB / 1.454 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008915/0.6668, allocations: 286.5 kB / 1.455 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.667, allocations: 15.98 kB / 1.455 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008367/0.6679, allocations: 71.92 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.668, allocations: 44.36 kB / 1.455 GB, free: 12.17 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/0.6681, allocations: 23.98 kB / 1.455 GB, free: 12.14 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001993/0.6701, allocations: 1.09 MB / 1.456 GB, free: 11.06 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6701, allocations: 0 / 1.456 GB, free: 11.06 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001561/0.6716, allocations: 447.1 kB / 1.456 GB, free: 10.62 MB / 1.154 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.004729/0.6764, allocations: 2.134 MB / 1.458 GB, free: 8.449 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002462/0.6788, allocations: 0.8322 MB / 1.459 GB, free: 7.617 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.6788, allocations: 0 / 1.459 GB, free: 7.617 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.6801, allocations: 423.7 kB / 1.46 GB, free: 7.203 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/0.6837, allocations: 0.7435 MB / 1.46 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/0.7062, allocations: 10.53 MB / 1.471 GB, free: 11.55 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008392/0.707, allocations: 0.5799 MB / 1.471 GB, free: 10.95 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001319/0.7083, allocations: 272.2 kB / 1.471 GB, free: 10.68 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.7094, allocations: 0.5422 MB / 1.472 GB, free: 10.13 MB / 1.17 GB Notification: Performance of SimCode: time 1.362e-06/0.7094, allocations: 0 / 1.472 GB, free: 10.13 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/0.8171, allocations: 47.26 MB / 1.518 GB, free: 11.7 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.37, allocations: 12.05 kB / 1.518 GB, free: 11.68 MB / 1.217 GB " [Timeout remaining time 284] (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: 22.378086178010562] Failed to read output from testmodel.py, exit status != 0: 15.520920212002238 15.548426588 14.944918135 Calling exit ...