Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008823/0.0008823, allocations: 84.8 kB / 21.62 MB, free: 2.84 MB / 18.57 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.00101/0.00101, allocations: 172.7 kB / 25.05 MB, free: 9.152 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.9628/0.9628, allocations: 177.1 MB / 205.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.815/1.815, allocations: 389.6 MB / 0.6363 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7761 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.734e-05, allocations: 10.25 kB / 0.7761 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01315/0.01317, allocations: 18.48 MB / 0.7942 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.008026/0.0212, allocations: 7.099 MB / 0.8011 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.02232, allocations: 95.19 kB / 0.8012 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000741/0.02306, allocations: 441.4 kB / 0.8016 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.02535, allocations: 1.724 MB / 0.8033 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.02729, allocations: 1.519 MB / 0.8048 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002941/0.03023, allocations: 3.932 MB / 0.8086 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.0314, allocations: 1.158 MB / 0.8097 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.03287, allocations: 1.908 MB / 0.8116 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.03366, allocations: 0.9338 MB / 0.8125 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.03381, allocations: 172 kB / 0.8127 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008116/0.03463, allocations: 0.6667 MB / 0.8133 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.03485, allocations: 398.4 kB / 0.8137 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.03524, allocations: 0.5923 MB / 0.8143 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.03661, allocations: 1.639 MB / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.03661, allocations: 0 / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.03661, allocations: 0.9062 kB / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.03662, allocations: 0 / 0.8159 GB, free: 12.56 MB / 0.7761 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.001713/0.03833, allocations: 1.893 MB / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.03836, allocations: 10.19 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.03913, allocations: 389.9 kB / 0.8181 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.04028, allocations: 0.9671 MB / 0.8191 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.04033, allocations: 86.03 kB / 0.8192 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.04041, allocations: 104.5 kB / 0.8193 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.04127, allocations: 0.9826 MB / 0.8202 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.04129, allocations: 3.938 kB / 0.8202 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.04134, allocations: 46.72 kB / 0.8203 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.04135, allocations: 24 kB / 0.8203 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.04178, allocations: 350.7 kB / 0.8206 GB, free: 7.527 MB / 0.7761 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.003376/0.04515, allocations: 4.273 MB / 0.8248 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.04584, allocations: 410.8 kB / 0.8252 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.04595, allocations: 93.86 kB / 0.8253 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.04606, allocations: 62.17 kB / 0.8253 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.04609, allocations: 39.06 kB / 0.8254 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.953e-06/0.04609, allocations: 0 / 0.8254 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.00112/0.04721, allocations: 0.5578 MB / 0.8259 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.04723, allocations: 59.91 kB / 0.826 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/0.04792, allocations: 0.943 MB / 0.8269 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.04795, allocations: 37.7 kB / 0.8269 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.04819, allocations: 0.5451 MB / 0.8275 GB, free: 360 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.388e-05/0.04828, allocations: 179.6 kB / 0.8276 GB, free: 180 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.04844, allocations: 182.4 kB / 0.8278 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.04853, allocations: 333.8 kB / 0.8281 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.0487, allocations: 101.9 kB / 0.8282 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.04931, allocations: 0.7172 MB / 0.8289 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.04968, allocations: 487.2 kB / 0.8294 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.04968, allocations: 7.938 kB / 0.8294 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005667/0.05025, allocations: 0.5087 MB / 0.8299 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.05026, allocations: 12.12 kB / 0.8299 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.05027, allocations: 8 kB / 0.8299 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.05064, allocations: 164.7 kB / 0.8301 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.05098, allocations: 187.7 kB / 0.8302 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003102/0.05129, allocations: 0.5912 MB / 0.8308 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.0517, allocations: 139.3 kB / 0.831 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.05175, allocations: 39.98 kB / 0.831 GB, free: 12.36 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0001809/0.05194, allocations: 160.4 kB / 0.8311 GB, free: 12.19 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.05203, allocations: 83.91 kB / 0.8312 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006972/0.05273, allocations: 0.6335 MB / 0.8318 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.05274, allocations: 15.92 kB / 0.8319 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.05274, allocations: 0 / 0.8319 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.05275, allocations: 3.984 kB / 0.8319 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.05432, allocations: 1.284 MB / 0.8331 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.05432, allocations: 4.062 kB / 0.8331 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.05449, allocations: 83.89 kB / 0.8332 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003264/0.05482, allocations: 164.7 kB / 0.8334 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.05484, allocations: 15.98 kB / 0.8334 GB, free: 9.844 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003741/0.05522, allocations: 0.6108 MB / 0.834 GB, free: 9.207 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.05522, allocations: 4 kB / 0.834 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/0.05601, allocations: 0.6529 MB / 0.8346 GB, free: 8.512 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.05623, allocations: 170.9 kB / 0.8348 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.0563, allocations: 12 kB / 0.8348 GB, free: 8.332 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.05657, allocations: 39.97 kB / 0.8348 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.05663, allocations: 44.36 kB / 0.8349 GB, free: 8.25 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.05666, allocations: 19.98 kB / 0.8349 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003811/0.05704, allocations: 478.4 kB / 0.8353 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.05704, allocations: 4 kB / 0.8353 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006196/0.05766, allocations: 391 kB / 0.8357 GB, free: 7.371 MB / 0.7917 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.0005958/0.05825, allocations: 217.8 kB / 0.8359 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005236/0.05878, allocations: 367.9 kB / 0.8363 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/0.0588, allocations: 16.5 kB / 0.8363 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.0591, allocations: 211.6 kB / 0.8365 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/0.06003, allocations: 466.2 kB / 0.8369 GB, free: 6.105 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.06227, allocations: 2.012 MB / 0.8389 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.06241, allocations: 241.1 kB / 0.8391 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000411/0.06282, allocations: 193.2 kB / 0.8393 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/0.06347, allocations: 419 kB / 0.8397 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of SimCode: time 9.71e-07/0.06347, allocations: 4 kB / 0.8397 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of Templates: time 0.02633/0.0898, allocations: 23.12 MB / 0.8623 GB, free: 12.55 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.165920946747065]