Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 189.4 kB / 22.1 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 207.6 MB / 232.8 MB, free: 2.836 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4967/0.4967, allocations: 55.68 MB / 340.7 MB, free: 11.47 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 72.12 kB / 482 MB, free: 36.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1799, allocations: 62.88 MB / 0.5321 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09263/0.2725, allocations: 70.26 MB / 0.6008 GB, free: 4.562 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03215/0.3046, allocations: 18.08 MB / 0.6184 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.3095, allocations: 87.25 kB / 0.6185 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004249/0.3138, allocations: 0.9048 MB / 0.6194 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.3262, allocations: 3.006 MB / 0.6223 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.3315, allocations: 1.482 MB / 0.6238 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008711/0.3402, allocations: 3.974 MB / 0.6276 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003901/0.3441, allocations: 1.138 MB / 0.6288 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007461/0.3516, allocations: 1.943 MB / 0.6307 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004508/0.3561, allocations: 1.307 MB / 0.6319 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008894/0.357, allocations: 184 kB / 0.6321 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.3611, allocations: 0.9984 MB / 0.6331 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.3623, allocations: 418.4 kB / 0.6335 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003773/0.3661, allocations: 0.9527 MB / 0.6344 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4085/0.7745, allocations: 3.049 MB / 0.6374 GB, free: 29.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.7745, allocations: 0 / 0.6374 GB, free: 29.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.7745, allocations: 0 / 0.6374 GB, free: 29.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.891e-05/0.7746, allocations: 0 / 0.6374 GB, free: 29.44 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.006312/0.7809, allocations: 2.026 MB / 0.6394 GB, free: 28.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.757e-05/0.781, allocations: 9.875 kB / 0.6394 GB, free: 28.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.7845, allocations: 0.4963 MB / 0.6399 GB, free: 28.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/0.7888, allocations: 1.468 MB / 0.6413 GB, free: 28.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.7889, allocations: 87.95 kB / 0.6414 GB, free: 28.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.7891, allocations: 108.5 kB / 0.6415 GB, free: 28.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.7923, allocations: 1.497 MB / 0.6429 GB, free: 27.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.7924, allocations: 6.406 kB / 0.6429 GB, free: 27.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.7925, allocations: 47.56 kB / 0.643 GB, free: 27.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.7925, allocations: 39.02 kB / 0.643 GB, free: 27.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.7954, allocations: 1.155 MB / 0.6442 GB, free: 27.57 MB / 494.1 MB 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.01021/0.8056, allocations: 8.493 MB / 0.6525 GB, free: 22.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.8075, allocations: 0.6011 MB / 0.653 GB, free: 22.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/0.8082, allocations: 241.3 kB / 0.6533 GB, free: 22.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.8089, allocations: 112.1 kB / 0.6534 GB, free: 22.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.554e-05/0.8089, allocations: 50.62 kB / 0.6534 GB, free: 22.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 5.38e-06/0.8089, allocations: 0.8438 kB / 0.6534 GB, free: 22.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.006845/0.8158, allocations: 1.306 MB / 0.6547 GB, free: 21.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.8159, allocations: 164.9 kB / 0.6549 GB, free: 21.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003109/0.819, allocations: 1.643 MB / 0.6565 GB, free: 21.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.8191, allocations: 38.55 kB / 0.6565 GB, free: 21.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006771/0.8198, allocations: 0.7568 MB / 0.6572 GB, free: 21.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.82, allocations: 168.1 kB / 0.6574 GB, free: 21.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.8204, allocations: 198.4 kB / 0.6576 GB, free: 21.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.8205, allocations: 336.8 kB / 0.6579 GB, free: 20.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.8218, allocations: 373.5 kB / 0.6583 GB, free: 20.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.8231, allocations: 0.7823 MB / 0.659 GB, free: 20.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.8249, allocations: 0.9959 MB / 0.66 GB, free: 19.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.8249, allocations: 2.875 kB / 0.66 GB, free: 19.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004804/0.8297, allocations: 1.467 MB / 0.6614 GB, free: 19.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.8297, allocations: 11.59 kB / 0.6614 GB, free: 19.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/0.8298, allocations: 11.41 kB / 0.6615 GB, free: 19.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008753/0.8306, allocations: 213.1 kB / 0.6617 GB, free: 19.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/0.8316, allocations: 226.9 kB / 0.6619 GB, free: 19.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008109/0.8324, allocations: 0.7122 MB / 0.6626 GB, free: 19.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.8345, allocations: 242 kB / 0.6628 GB, free: 19.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.8346, allocations: 46.58 kB / 0.6628 GB, free: 19.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (101): * Single equations (assignments): 100 * 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.000771/0.8353, allocations: 377.8 kB / 0.6632 GB, free: 18.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.8356, allocations: 163.1 kB / 0.6634 GB, free: 18.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.8378, allocations: 0.9589 MB / 0.6643 GB, free: 18.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.8378, allocations: 11.45 kB / 0.6643 GB, free: 18.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.8378, allocations: 2.5 kB / 0.6643 GB, free: 18.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.8378, allocations: 8.359 kB / 0.6643 GB, free: 18.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.843, allocations: 2.283 MB / 0.6666 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.8431, allocations: 2.469 kB / 0.6666 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.8434, allocations: 80.14 kB / 0.6666 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006945/0.8441, allocations: 200.7 kB / 0.6668 GB, free: 18.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.8442, allocations: 12.8 kB / 0.6668 GB, free: 18.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006792/0.8448, allocations: 0.6969 MB / 0.6675 GB, free: 17.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.8449, allocations: 2.844 kB / 0.6675 GB, free: 17.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.8481, allocations: 1.107 MB / 0.6686 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009335/0.8491, allocations: 261 kB / 0.6688 GB, free: 17.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.8493, allocations: 21.98 kB / 0.6689 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.8503, allocations: 82.19 kB / 0.6689 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.8504, allocations: 41.31 kB / 0.669 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.8505, allocations: 21.73 kB / 0.669 GB, free: 17.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002077/0.8525, allocations: 1.185 MB / 0.6702 GB, free: 17.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8525, allocations: 0 / 0.6702 GB, free: 17.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001811/0.8544, allocations: 420 kB / 0.6706 GB, free: 17.11 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0009262/0.8553, allocations: 382.5 kB / 0.6709 GB, free: 16.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.8576, allocations: 0.7758 MB / 0.6717 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.8576, allocations: 2.938 kB / 0.6717 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.8583, allocations: 276.4 kB / 0.672 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/0.8619, allocations: 0.8117 MB / 0.6727 GB, free: 16.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.8659, allocations: 2.265 MB / 0.675 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.8665, allocations: 1.165 MB / 0.6761 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.8675, allocations: 281.3 kB / 0.6764 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.8678, allocations: 115.3 kB / 0.6765 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 1.944e-06/0.8678, allocations: 2.875 kB / 0.6765 GB, free: 15 MB / 494.1 MB Notification: Performance of Templates: time 0.05679/0.9246, allocations: 32.69 MB / 0.7084 GB, free: 5.094 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1627643052488565] Failed to read output from testmodel.py, exit status != 0: 0.9355759974569082 0.952546692 0.174301066 Calling exit ...