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.0009254/0.0009254, allocations: 80.81 kB / 21.54 MB, free: 2.953 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.001036/0.001036, allocations: 166.1 kB / 24.96 MB, free: 9.184 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.9268/0.9268, allocations: 177.1 MB / 205.4 MB, free: 5.102 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.88/1.88, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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 5.36e-06/5.36e-06, allocations: 3.984 kB / 0.7759 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.46e-05, allocations: 4.422 kB / 0.7759 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.02048/0.02051, allocations: 18.48 MB / 0.794 GB, free: 2.914 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.03414, allocations: 7.126 MB / 0.801 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.03599, allocations: 95.19 kB / 0.801 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009383/0.03693, allocations: 445.5 kB / 0.8015 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.03984, allocations: 1.716 MB / 0.8031 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.04207, allocations: 1.535 MB / 0.8046 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003085/0.04516, allocations: 3.938 MB / 0.8085 GB, free: 4.109 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.04655, allocations: 1.152 MB / 0.8096 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.04858, allocations: 1.904 MB / 0.8115 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.04962, allocations: 0.9277 MB / 0.8124 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.04981, allocations: 172.8 kB / 0.8125 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.05084, allocations: 0.6706 MB / 0.8132 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.05112, allocations: 399.3 kB / 0.8136 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.05164, allocations: 0.5923 MB / 0.8142 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.05326, allocations: 1.639 MB / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.05326, allocations: 0.7812 kB / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.563e-06/0.05326, allocations: 0 / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.05328, allocations: 0.5 kB / 0.8158 GB, free: 12.62 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.001905/0.05518, allocations: 1.897 MB / 0.8176 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.05522, allocations: 9.344 kB / 0.8176 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008478/0.05607, allocations: 394.4 kB / 0.818 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.05717, allocations: 0.9549 MB / 0.8189 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.05722, allocations: 81.47 kB / 0.819 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.05731, allocations: 112 kB / 0.8191 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000928/0.05824, allocations: 0.9835 MB / 0.8201 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.05826, allocations: 8.438 kB / 0.8201 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.05831, allocations: 49.5 kB / 0.8201 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.05833, allocations: 24 kB / 0.8202 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.05877, allocations: 356.6 kB / 0.8205 GB, free: 7.57 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.003383/0.06215, allocations: 4.258 MB / 0.8247 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/0.063, allocations: 421 kB / 0.8251 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.06311, allocations: 86.75 kB / 0.8251 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.06324, allocations: 64.44 kB / 0.8252 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.06326, allocations: 39.56 kB / 0.8252 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.06326, allocations: 0.5 kB / 0.8252 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.00113/0.06439, allocations: 0.5573 MB / 0.8258 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.06442, allocations: 59.89 kB / 0.8258 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.06525, allocations: 0.9436 MB / 0.8268 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.06528, allocations: 41.64 kB / 0.8268 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.06552, allocations: 0.549 MB / 0.8273 GB, free: 400 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.0656, allocations: 182.5 kB / 0.8275 GB, free: 216 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.06576, allocations: 170.4 kB / 0.8277 GB, free: 36 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.06584, allocations: 337.9 kB / 0.828 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.06602, allocations: 92.8 kB / 0.8281 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.0664, allocations: 0.7239 MB / 0.8288 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.06677, allocations: 488.7 kB / 0.8293 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.06677, allocations: 0 / 0.8293 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005742/0.06735, allocations: 0.5047 MB / 0.8297 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.06736, allocations: 8 kB / 0.8298 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.06737, allocations: 8.062 kB / 0.8298 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.06776, allocations: 180.9 kB / 0.8299 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.06811, allocations: 179.7 kB / 0.8301 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002955/0.0684, allocations: 0.5835 MB / 0.8307 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.06879, allocations: 143.3 kB / 0.8308 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.06884, allocations: 36.02 kB / 0.8308 GB, free: 12.41 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.0001738/0.06902, allocations: 164.4 kB / 0.831 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/0.0691, allocations: 87.91 kB / 0.8311 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007217/0.06983, allocations: 0.6335 MB / 0.8317 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.06984, allocations: 11.94 kB / 0.8317 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.06984, allocations: 7.984 kB / 0.8317 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.06985, allocations: 0 / 0.8317 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.07128, allocations: 1.288 MB / 0.833 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.07128, allocations: 0 / 0.833 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.07144, allocations: 75.89 kB / 0.8331 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/0.07183, allocations: 176.6 kB / 0.8332 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.07186, allocations: 12 kB / 0.8332 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003483/0.07221, allocations: 0.6069 MB / 0.8338 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.07221, allocations: 7.984 kB / 0.8338 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.07296, allocations: 0.649 MB / 0.8345 GB, free: 8.562 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.07316, allocations: 170.9 kB / 0.8346 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.07323, allocations: 12 kB / 0.8346 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.07348, allocations: 43.97 kB / 0.8347 GB, free: 8.34 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.07354, allocations: 48.36 kB / 0.8347 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.07357, allocations: 19.98 kB / 0.8348 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003565/0.07392, allocations: 482.3 kB / 0.8352 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.07392, allocations: 0 / 0.8352 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000538/0.07446, allocations: 391 kB / 0.8356 GB, free: 7.414 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.0002735/0.07474, allocations: 209.9 kB / 0.8358 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.07518, allocations: 364.5 kB / 0.8361 GB, free: 6.84 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/0.0752, allocations: 16.5 kB / 0.8361 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.07548, allocations: 214.9 kB / 0.8364 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.07651, allocations: 473.8 kB / 0.8368 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.07861, allocations: 2.022 MB / 0.8388 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.07875, allocations: 237.1 kB / 0.839 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000384/0.07914, allocations: 193.2 kB / 0.8392 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.07976, allocations: 411 kB / 0.8396 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of SimCode: time 7.31e-07/0.07976, allocations: 0 / 0.8396 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of Templates: time 0.02415/0.1039, allocations: 23.1 MB / 0.8621 GB, free: 12.62 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.3341527339071035]