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.002484/0.002484, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.003051/0.003051, allocations: 218 kB / 23 MB, free: 4.969 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.657/1.657, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.528/3.528, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [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.002126/0.002126, allocations: 65.38 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4803, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09029/0.5706, allocations: 65.19 MB / 1.391 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03334/0.6039, allocations: 17.56 MB / 1.408 GB, free: 13.99 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.6071, allocations: 95.19 kB / 1.408 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.6097, allocations: 0.8345 MB / 1.409 GB, free: 13.05 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009588/0.6193, allocations: 3.018 MB / 1.412 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00484/0.6241, allocations: 1.706 MB / 1.413 GB, free: 8.328 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006678/0.6308, allocations: 4.073 MB / 1.417 GB, free: 4.246 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.633, allocations: 1.157 MB / 1.419 GB, free: 3.051 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0055/0.6385, allocations: 1.998 MB / 1.42 GB, free: 1.047 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.6414, allocations: 1.21 MB / 1.422 GB, free: 15.83 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006275/0.642, allocations: 176 kB / 1.422 GB, free: 15.66 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.6458, allocations: 1.182 MB / 1.423 GB, free: 14.48 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000757/0.6465, allocations: 394.5 kB / 1.423 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.6485, allocations: 0.7194 MB / 1.424 GB, free: 13.37 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005877/0.6543, allocations: 3.103 MB / 1.427 GB, free: 10.25 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.6543, allocations: 0 / 1.427 GB, free: 10.25 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6543, allocations: 0 / 1.427 GB, free: 10.25 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.571e-05/0.6544, allocations: 0 / 1.427 GB, free: 10.25 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.004114/0.6585, allocations: 2.019 MB / 1.429 GB, free: 8.188 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6585, allocations: 11.97 kB / 1.429 GB, free: 8.176 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.6608, allocations: 455.4 kB / 1.429 GB, free: 7.73 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.6641, allocations: 1.516 MB / 1.431 GB, free: 6.164 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.6642, allocations: 85.97 kB / 1.431 GB, free: 6.078 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.6643, allocations: 104 kB / 1.431 GB, free: 5.977 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.6671, allocations: 1.413 MB / 1.433 GB, free: 4.43 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.6671, allocations: 11.94 kB / 1.433 GB, free: 4.418 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6672, allocations: 48 kB / 1.433 GB, free: 4.371 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.6673, allocations: 24 kB / 1.433 GB, free: 4.348 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.67, allocations: 1.093 MB / 1.434 GB, free: 3.25 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.009138/0.6791, allocations: 5.413 MB / 1.439 GB, free: 13.69 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.6822, allocations: 0.773 MB / 1.44 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/0.6829, allocations: 266 kB / 1.44 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/0.6834, allocations: 156.3 kB / 1.44 GB, free: 12.49 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.6835, allocations: 39 kB / 1.44 GB, free: 12.45 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 3.376e-06/0.6835, allocations: 0 / 1.44 GB, free: 12.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.004899/0.6884, allocations: 1.24 MB / 1.441 GB, free: 11.2 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.6884, allocations: 55.84 kB / 1.441 GB, free: 11.13 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.6907, allocations: 1.224 MB / 1.443 GB, free: 9.895 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/0.6907, allocations: 37.7 kB / 1.443 GB, free: 9.852 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/0.6914, allocations: 0.7071 MB / 1.443 GB, free: 9.137 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.6917, allocations: 182.5 kB / 1.444 GB, free: 8.957 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.692, allocations: 174.5 kB / 1.444 GB, free: 8.781 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.6922, allocations: 337.9 kB / 1.444 GB, free: 8.445 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.6932, allocations: 365.8 kB / 1.444 GB, free: 8.086 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.6948, allocations: 0.9808 MB / 1.445 GB, free: 6.898 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.6967, allocations: 0.8936 MB / 1.446 GB, free: 5.898 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6967, allocations: 0 / 1.446 GB, free: 5.898 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003028/0.6998, allocations: 1.169 MB / 1.447 GB, free: 4.719 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.6998, allocations: 12 kB / 1.447 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.6998, allocations: 11.98 kB / 1.447 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008959/0.7007, allocations: 220.6 kB / 1.448 GB, free: 4.477 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/0.7015, allocations: 195.6 kB / 1.448 GB, free: 4.285 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.7025, allocations: 0.724 MB / 1.448 GB, free: 3.535 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.7038, allocations: 167.5 kB / 1.449 GB, free: 3.371 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7039, allocations: 39.97 kB / 1.449 GB, free: 3.332 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.0007127/0.7046, allocations: 361.6 kB / 1.449 GB, free: 2.969 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.7048, allocations: 123.2 kB / 1.449 GB, free: 2.848 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.7074, allocations: 1.134 MB / 1.45 GB, free: 1.695 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.7074, allocations: 3.984 kB / 1.45 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.7074, allocations: 0 / 1.45 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/0.708, allocations: 250.8 kB / 1.45 GB, free: 1.445 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.7081, allocations: 4 kB / 1.45 GB, free: 1.441 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.7088, allocations: 71.92 kB / 1.451 GB, free: 1.371 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7089, allocations: 36.42 kB / 1.451 GB, free: 1.336 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002646/0.7116, allocations: 0.9927 MB / 1.452 GB, free: 340 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002678/0.7142, allocations: 1.423 MB / 1.453 GB, free: 14.89 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007163/0.715, allocations: 328 kB / 1.453 GB, free: 14.58 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001541/0.7165, allocations: 0.8551 MB / 1.454 GB, free: 13.72 MB / 1.154 GB Notification: Performance of Backend: time 6.32e-07/0.7165, allocations: 0 / 1.454 GB, free: 13.72 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003378/0.7199, allocations: 1.04 MB / 1.455 GB, free: 12.68 MB / 1.154 GB Notification: Performance of SimCode: time 0.006126/0.726, allocations: 2.882 MB / 1.458 GB, free: 9.746 MB / 1.154 GB Notification: Performance of Templates: time 0.05562/0.7816, allocations: 29.38 MB / 1.487 GB, free: 12.78 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.332808264007326] Failed to read output from testmodel.py, exit status != 0: 0.7915209670318291 0.807084316 0.149283562 Calling exit ...