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.001402/0.001402, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001633/0.001633, allocations: 215.7 kB / 22.25 MB, free: 5.102 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.629/1.629, allocations: 230.6 MB / 256 MB, free: 7.859 MB / 206.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.151/0.151, allocations: 23.92 MB / 336.3 MB, free: 10.97 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 75.02 kB / 471.7 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.391, allocations: 59.87 MB / 0.5191 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005558/0.3966, allocations: 3.91 MB / 0.5229 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009683/0.4063, allocations: 7.704 MB / 0.5304 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008237/0.4071, allocations: 13.69 kB / 0.5304 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007284/0.4078, allocations: 172.5 kB / 0.5306 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.4103, allocations: 0.7766 MB / 0.5314 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.4139, allocations: 1.03 MB / 0.5324 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.4155, allocations: 0.886 MB / 0.5332 GB, free: 328 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.4161, allocations: 416.8 kB / 0.5336 GB, free: 132 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.4167, allocations: 453.1 kB / 0.5341 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008394/0.4176, allocations: 484.8 kB / 0.5345 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4177, allocations: 76.09 kB / 0.5346 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.4208, allocations: 0.8736 MB / 0.5355 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.4211, allocations: 186 kB / 0.5356 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.4215, allocations: 348.3 kB / 0.536 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.4256, allocations: 1.835 MB / 0.5378 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4256, allocations: 2.125 kB / 0.5378 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4256, allocations: 0 / 0.5378 GB, free: 14.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4256, allocations: 0 / 0.5378 GB, free: 14.49 MB / 398.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.002434/0.428, allocations: 1.097 MB / 0.5388 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4281, allocations: 8.938 kB / 0.5388 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006928/0.4287, allocations: 144.9 kB / 0.539 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.4296, allocations: 414.6 kB / 0.5394 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/0.4297, allocations: 49.75 kB / 0.5394 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.4298, allocations: 69.02 kB / 0.5395 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.4312, allocations: 0.7583 MB / 0.5402 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.4312, allocations: 3.984 kB / 0.5402 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.4313, allocations: 29.41 kB / 0.5403 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.4313, allocations: 20.59 kB / 0.5403 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.4328, allocations: 0.8657 MB / 0.5411 GB, free: 12.8 MB / 398.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.003984/0.4368, allocations: 1.763 MB / 0.5428 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.4385, allocations: 0.8114 MB / 0.5436 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.4389, allocations: 253.6 kB / 0.5439 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003999/0.4429, allocations: 1.519 MB / 0.5454 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.443, allocations: 42.38 kB / 0.5454 GB, free: 10.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.374e-06/0.443, allocations: 0 / 0.5454 GB, free: 10.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01882/0.4618, allocations: 2.653 MB / 0.548 GB, free: 9.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.4618, allocations: 61.91 kB / 0.548 GB, free: 9.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.4624, allocations: 392.2 kB / 0.5484 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.4625, allocations: 35.14 kB / 0.5485 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.4628, allocations: 375.1 kB / 0.5488 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.463, allocations: 206.3 kB / 0.549 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.4633, allocations: 144 kB / 0.5491 GB, free: 8.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4635, allocations: 361.9 kB / 0.5495 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.4639, allocations: 206.8 kB / 0.5497 GB, free: 7.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.4645, allocations: 466.4 kB / 0.5501 GB, free: 7.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.4656, allocations: 0.7181 MB / 0.5508 GB, free: 6.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.4656, allocations: 3 kB / 0.5508 GB, free: 6.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005487/0.4711, allocations: 1.131 MB / 0.5519 GB, free: 6.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.4712, allocations: 16.45 kB / 0.552 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.4712, allocations: 12.25 kB / 0.552 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/0.4755, allocations: 444 kB / 0.5524 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.4761, allocations: 158.4 kB / 0.5525 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008588/0.4847, allocations: 4.346 MB / 0.5568 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.4854, allocations: 25.41 kB / 0.5568 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.4855, allocations: 43.7 kB / 0.5569 GB, free: 2.25 MB / 398.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.0004128/0.4859, allocations: 207.1 kB / 0.5571 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.486, allocations: 52.33 kB / 0.5571 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00631/0.4924, allocations: 1.099 MB / 0.5582 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4924, allocations: 11.94 kB / 0.5582 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4924, allocations: 0 / 0.5582 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4924, allocations: 0 / 0.5582 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007365/0.4997, allocations: 1.623 MB / 0.5598 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4998, allocations: 0 / 0.5598 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.5002, allocations: 91.89 kB / 0.5599 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005632/0.5058, allocations: 0.506 MB / 0.5604 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/0.5059, allocations: 27.98 kB / 0.5604 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009352/0.5152, allocations: 5.505 MB / 0.5658 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5152, allocations: 7.969 kB / 0.5658 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006833/0.5221, allocations: 1.399 MB / 0.5671 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.5223, allocations: 51.64 kB / 0.5672 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.5224, allocations: 20 kB / 0.5672 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.5228, allocations: 12 kB / 0.5672 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.523, allocations: 56.39 kB / 0.5673 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.523, allocations: 31.98 kB / 0.5673 GB, free: 7.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.5233, allocations: 243.2 kB / 0.5675 GB, free: 6.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5233, allocations: 0 / 0.5675 GB, free: 6.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001546/0.5249, allocations: 399.1 kB / 0.5679 GB, free: 6.535 MB / 414.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.0009337/0.5258, allocations: 483 kB / 0.5684 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.5276, allocations: 0.8656 MB / 0.5692 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5276, allocations: 0 / 0.5692 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.5288, allocations: 0.7022 MB / 0.5699 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.5297, allocations: 154.1 kB / 0.57 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.5321, allocations: 1.328 MB / 0.5713 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.5325, allocations: 293.5 kB / 0.5716 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.5329, allocations: 128.6 kB / 0.5717 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.5331, allocations: 102.3 kB / 0.5718 GB, free: 2.359 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.5331, allocations: 0 / 0.5718 GB, free: 2.359 MB / 414.1 MB Notification: Performance of Templates: time 0.03063/0.5637, allocations: 17.57 MB / 0.589 GB, free: 0.9297 MB / 430.1 MB " [Timeout remaining time 659] 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: 6.050229392014444] Failed to read output from testmodel.py, exit status != 0: 0.573598369024694 0.587643299 0.158908566 Calling exit ...