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.001417/0.001417, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.002304/0.002304, allocations: 165.7 kB / 22.46 MB, free: 5.375 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.136/0.136, allocations: 17.46 MB / 276.6 MB, free: 15.18 MB / 270.1 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.703e-06/1.703e-06, allocations: 0 / 412.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.751e-05, allocations: 2.281 kB / 412.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005496/0.005524, allocations: 3.897 MB / 416 MB, free: 368 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.01608, allocations: 7.703 MB / 423.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.01663, allocations: 15.94 kB / 423.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.01725, allocations: 174.5 kB / 423.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.01943, allocations: 0.8105 MB / 424.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.02196, allocations: 1.052 MB / 425.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.02318, allocations: 0.9196 MB / 426.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006192/0.0238, allocations: 416.7 kB / 427.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007808/0.02458, allocations: 0.62 MB / 427.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.0252, allocations: 379.1 kB / 428.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.02533, allocations: 76 kB / 428.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.02758, allocations: 0.8655 MB / 429 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.02779, allocations: 183.4 kB / 429.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.02817, allocations: 295.3 kB / 429.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.03108, allocations: 1.938 MB / 431.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.03109, allocations: 0 / 431.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.03109, allocations: 0 / 431.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.0311, allocations: 0 / 431.4 MB, free: 0.8828 MB / 350.1 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.002036/0.03313, allocations: 1.097 MB / 432.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.03318, allocations: 8.031 kB / 432.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006979/0.03388, allocations: 152.2 kB / 432.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008872/0.03477, allocations: 401.1 kB / 433 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.03482, allocations: 54.36 kB / 433.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.03494, allocations: 72.38 kB / 433.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.03623, allocations: 0.7475 MB / 433.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.03625, allocations: 4.188 kB / 433.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.03633, allocations: 32.31 kB / 434 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.03635, allocations: 19.94 kB / 434 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.03781, allocations: 0.8667 MB / 434.8 MB, free: 13.38 MB / 366.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.003595/0.04141, allocations: 1.754 MB / 436.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.04316, allocations: 0.8111 MB / 437.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.04358, allocations: 247.2 kB / 437.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003647/0.04723, allocations: 1.547 MB / 439.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.04726, allocations: 38.56 kB / 439.2 MB, free: 8.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.305e-06/0.04727, allocations: 3.938 kB / 439.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.0161/0.06337, allocations: 2.638 MB / 441.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.06341, allocations: 59.91 kB / 441.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.06391, allocations: 389.6 kB / 442.3 MB, free: 5.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.06397, allocations: 37.7 kB / 442.3 MB, free: 5.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.06425, allocations: 372.1 kB / 442.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.06443, allocations: 210.2 kB / 442.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.06466, allocations: 138.6 kB / 443 MB, free: 4.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.06483, allocations: 358.8 kB / 443.4 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.06522, allocations: 213.9 kB / 443.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.06582, allocations: 465.8 kB / 444.1 MB, free: 3.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.06692, allocations: 0.716 MB / 444.8 MB, free: 3.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/0.06694, allocations: 4 kB / 444.8 MB, free: 3.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004941/0.07188, allocations: 1.135 MB / 445.9 MB, free: 1.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.07191, allocations: 8 kB / 445.9 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.07192, allocations: 8 kB / 445.9 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003888/0.07581, allocations: 445.5 kB / 446.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.07635, allocations: 167.7 kB / 446.5 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1894/0.2657, allocations: 4.337 MB / 450.9 MB, free: 42.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008476/0.2666, allocations: 27.08 kB / 450.9 MB, free: 42.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2667, allocations: 43.62 kB / 450.9 MB, free: 42.61 MB / 366.1 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.0004366/0.2671, allocations: 211.4 kB / 451.1 MB, free: 42.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.2673, allocations: 54.12 kB / 451.2 MB, free: 42.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005428/0.2727, allocations: 1.081 MB / 452.3 MB, free: 42.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.2727, allocations: 6.219 kB / 452.3 MB, free: 42.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.2727, allocations: 2.703 kB / 452.3 MB, free: 42.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.2727, allocations: 3 kB / 452.3 MB, free: 42.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.2789, allocations: 1.614 MB / 453.9 MB, free: 41.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.2789, allocations: 6.438 kB / 453.9 MB, free: 41.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.2792, allocations: 93 kB / 454 MB, free: 41.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004765/0.284, allocations: 0.5029 MB / 454.5 MB, free: 41.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.2841, allocations: 21.5 kB / 454.5 MB, free: 41.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00717/0.2912, allocations: 5.513 MB / 460 MB, free: 36.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2912, allocations: 9.5 kB / 460 MB, free: 36.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/0.297, allocations: 1.393 MB / 461.4 MB, free: 36.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.2972, allocations: 56.78 kB / 461.5 MB, free: 35.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.2972, allocations: 18.28 kB / 461.5 MB, free: 35.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.2976, allocations: 14.06 kB / 461.5 MB, free: 35.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.2978, allocations: 59.3 kB / 461.6 MB, free: 35.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.2978, allocations: 24.45 kB / 461.6 MB, free: 35.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.2981, allocations: 250.5 kB / 461.9 MB, free: 35.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2981, allocations: 3.719 kB / 461.9 MB, free: 35.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001468/0.2996, allocations: 402.5 kB / 462.3 MB, free: 35.78 MB / 366.1 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.0009384/0.3005, allocations: 482.8 kB / 462.7 MB, free: 35.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.3021, allocations: 0.8535 MB / 463.6 MB, free: 35.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3021, allocations: 1.125 kB / 463.6 MB, free: 35.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.3032, allocations: 0.6996 MB / 464.3 MB, free: 34.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.304, allocations: 147.7 kB / 464.4 MB, free: 34.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3061, allocations: 1.258 MB / 465.7 MB, free: 33.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3064, allocations: 301.1 kB / 466 MB, free: 33.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004442/0.3069, allocations: 128.8 kB / 466.1 MB, free: 33.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.3071, allocations: 100.5 kB / 466.2 MB, free: 33.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3071, allocations: 0 / 466.2 MB, free: 33.75 MB / 366.1 MB Notification: Performance of Templates: time 0.02317/0.3303, allocations: 16.48 MB / 482.7 MB, free: 22.77 MB / 366.1 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.3930984400212765] Failed to read output from testmodel.py, exit status != 0: 0.33857036381959915 0.34785462100000003 0.314370767 Calling exit ...