Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.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.0008924/0.0008924, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.000858/0.000858, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8792/0.8792, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08112/0.08112, allocations: 17.45 MB / 277.4 MB, free: 11.75 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.767e-05, allocations: 2.281 kB / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.003938/0.003956, allocations: 3.894 MB / 416.8 MB, free: 11.83 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005617/0.009573, allocations: 7.712 MB / 424.5 MB, free: 4.086 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.009738, allocations: 11.94 kB / 424.5 MB, free: 4.074 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.01007, allocations: 170.5 kB / 424.6 MB, free: 3.906 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008956/0.01096, allocations: 0.8143 MB / 425.5 MB, free: 3.086 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.01194, allocations: 1.044 MB / 426.5 MB, free: 2.035 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.0125, allocations: 0.9196 MB / 427.4 MB, free: 1.109 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.01282, allocations: 416.7 kB / 427.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/0.01319, allocations: 0.6122 MB / 428.4 MB, free: 88 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.01352, allocations: 387 kB / 428.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.01359, allocations: 76 kB / 428.9 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008601/0.01445, allocations: 0.8616 MB / 429.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.01456, allocations: 183.4 kB / 429.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.01472, allocations: 295.4 kB / 430.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.01632, allocations: 1.942 MB / 432.2 MB, free: 12.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.01632, allocations: 0 / 432.2 MB, free: 12.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01632, allocations: 0 / 432.2 MB, free: 12.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.01633, allocations: 0 / 432.2 MB, free: 12.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001071/0.0174, allocations: 1.089 MB / 433.3 MB, free: 11.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.01743, allocations: 8.031 kB / 433.3 MB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.01776, allocations: 152.4 kB / 433.4 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.0182, allocations: 405.1 kB / 433.8 MB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.01823, allocations: 50.38 kB / 433.9 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.0183, allocations: 72.33 kB / 433.9 MB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007245/0.01903, allocations: 0.7553 MB / 434.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01904, allocations: 192 / 434.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.01908, allocations: 24.38 kB / 434.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.01909, allocations: 23.94 kB / 434.7 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008307/0.01992, allocations: 0.8628 MB / 435.6 MB, free: 8.855 MB / 410.7 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.001937/0.02186, allocations: 1.747 MB / 437.3 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/0.02276, allocations: 0.8109 MB / 438.1 MB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.023, allocations: 255.2 kB / 438.4 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/0.02517, allocations: 1.528 MB / 439.9 MB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.0252, allocations: 46.28 kB / 440 MB, free: 4.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.463e-06/0.0252, allocations: 0 / 440 MB, free: 4.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=56): time 0.006812/0.03201, allocations: 2.653 MB / 442.6 MB, free: 1.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.03204, allocations: 59.91 kB / 442.7 MB, free: 1.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.03229, allocations: 385.7 kB / 443.1 MB, free: 1.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.03232, allocations: 41.64 kB / 443.1 MB, free: 1.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.03246, allocations: 376 kB / 443.5 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/0.03256, allocations: 206.3 kB / 443.7 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.03268, allocations: 146.6 kB / 443.8 MB, free: 468 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.03278, allocations: 362.8 kB / 444.2 MB, free: 96 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1415/0.1743, allocations: 203.9 kB / 444.4 MB, free: 70.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.1746, allocations: 462.7 kB / 444.8 MB, free: 69.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.1752, allocations: 0.7187 MB / 445.5 MB, free: 69.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1752, allocations: 3.031 kB / 445.5 MB, free: 69.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002076/0.1772, allocations: 1.129 MB / 446.7 MB, free: 69.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1773, allocations: 9.688 kB / 446.7 MB, free: 69.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1773, allocations: 6.25 kB / 446.7 MB, free: 69.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.1788, allocations: 446.6 kB / 447.1 MB, free: 69.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.179, allocations: 155.6 kB / 447.3 MB, free: 69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/0.1824, allocations: 4.343 MB / 451.6 MB, free: 65.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.1827, allocations: 29.12 kB / 451.6 MB, free: 65.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.1827, allocations: 49.62 kB / 451.7 MB, free: 65.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.1829, allocations: 201.3 kB / 451.9 MB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.183, allocations: 54.72 kB / 451.9 MB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.1853, allocations: 1.082 MB / 453 MB, free: 65.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1853, allocations: 6.188 kB / 453 MB, free: 65.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1853, allocations: 3.219 kB / 453 MB, free: 65.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1853, allocations: 3.375 kB / 453 MB, free: 65.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.1879, allocations: 1.621 MB / 454.7 MB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1879, allocations: 3.219 kB / 454.7 MB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.188, allocations: 89.98 kB / 454.7 MB, free: 64.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.1899, allocations: 0.5045 MB / 455.3 MB, free: 64.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.1899, allocations: 21.02 kB / 455.3 MB, free: 64.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.1933, allocations: 5.52 MB / 460.8 MB, free: 59.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1933, allocations: 7.312 kB / 460.8 MB, free: 59.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.1957, allocations: 1.394 MB / 462.2 MB, free: 58.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.1957, allocations: 51.27 kB / 462.2 MB, free: 58.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.1957, allocations: 18.09 kB / 462.3 MB, free: 58.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1959, allocations: 14.59 kB / 462.3 MB, free: 58.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.196, allocations: 61.69 kB / 462.3 MB, free: 58.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.196, allocations: 25.36 kB / 462.4 MB, free: 58.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1961, allocations: 247.9 kB / 462.6 MB, free: 58.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1961, allocations: 0 / 462.6 MB, free: 58.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007578/0.1969, allocations: 402.7 kB / 463 MB, free: 58.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004581/0.1973, allocations: 487.2 kB / 463.5 MB, free: 58.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007768/0.1981, allocations: 0.8596 MB / 464.3 MB, free: 58.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1981, allocations: 2.656 kB / 464.3 MB, free: 58.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.1986, allocations: 0.702 MB / 465 MB, free: 57.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.199, allocations: 146.2 kB / 465.2 MB, free: 57.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2001, allocations: 1.279 MB / 466.5 MB, free: 56.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.2003, allocations: 297.1 kB / 466.8 MB, free: 56.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2004, allocations: 125.9 kB / 466.9 MB, free: 56.68 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2004, allocations: 0 / 466.9 MB, free: 56.68 MB / 410.7 MB Notification: Performance of Templates: time 0.01155/0.212, allocations: 17.86 MB / 484.7 MB, free: 54.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.320144310593605] Failed to read output from testmodel.py, exit status != 0: 0.21806703135371208 0.22430005700000002 0.206474456 Calling exit ...