Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.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.001763/0.001763, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002181/0.002181, allocations: 205.4 kB / 22.99 MB, free: 4.953 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1449/0.1449, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterVaporization") translateModel(Chemical.Obsolete.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterVaporization") [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.002039/0.002039, allocations: 67.91 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3861, allocations: 59.86 MB / 0.5198 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.00714/0.3933, allocations: 5.869 MB / 0.5256 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.4115, allocations: 12.92 MB / 0.5382 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.4132, allocations: 21.56 kB / 0.5382 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.4148, allocations: 320.4 kB / 0.5385 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005086/0.4199, allocations: 1.091 MB / 0.5396 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007486/0.4274, allocations: 2.004 MB / 0.5415 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003298/0.4307, allocations: 1.61 MB / 0.5431 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.4324, allocations: 0.8133 MB / 0.5439 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.4341, allocations: 0.774 MB / 0.5446 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.4357, allocations: 0.8466 MB / 0.5455 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.436, allocations: 149.3 kB / 0.5456 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005987/0.442, allocations: 1.428 MB / 0.547 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.4424, allocations: 342.4 kB / 0.5473 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.4434, allocations: 0.6289 MB / 0.5479 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00946/0.4529, allocations: 3.226 MB / 0.5511 GB, free: 6.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4529, allocations: 1.094 kB / 0.5511 GB, free: 6.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4529, allocations: 0 / 0.5511 GB, free: 6.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.421e-05/0.4529, allocations: 3.984 kB / 0.5511 GB, free: 6.305 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004041/0.457, allocations: 1.799 MB / 0.5529 GB, free: 5.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.457, allocations: 13.28 kB / 0.5529 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.4584, allocations: 322 kB / 0.5532 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.4599, allocations: 0.6161 MB / 0.5538 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.882e-05/0.46, allocations: 99.38 kB / 0.5539 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.4602, allocations: 128.8 kB / 0.554 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.4628, allocations: 1.543 MB / 0.5555 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.4628, allocations: 5.047 kB / 0.5555 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.4629, allocations: 50.38 kB / 0.5556 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.463, allocations: 30.47 kB / 0.5556 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.4659, allocations: 1.862 MB / 0.5574 GB, free: 2.508 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.007139/0.4731, allocations: 3.533 MB / 0.5609 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.4751, allocations: 1.255 MB / 0.5621 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/0.4758, allocations: 495.7 kB / 0.5626 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005653/0.4815, allocations: 2.622 MB / 0.5651 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4815, allocations: 47.16 kB / 0.5652 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004224/0.482, allocations: 87.38 kB / 0.5652 GB, free: 10.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.482, allocations: 0 / 0.5652 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01781/0.4998, allocations: 4.208 MB / 0.5694 GB, free: 6.672 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.4998, allocations: 64.41 kB / 0.5694 GB, free: 6.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.5007, allocations: 0.5544 MB / 0.57 GB, free: 6.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.5008, allocations: 41.7 kB / 0.57 GB, free: 5.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.5013, allocations: 0.5976 MB / 0.5706 GB, free: 5.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/0.5017, allocations: 364.9 kB / 0.5709 GB, free: 5.016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.502, allocations: 242.8 kB / 0.5712 GB, free: 4.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.5022, allocations: 382.8 kB / 0.5715 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007371/0.503, allocations: 426.4 kB / 0.5719 GB, free: 3.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.5041, allocations: 0.7823 MB / 0.5727 GB, free: 3.027 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02389/0.5279, allocations: 4.501 MB / 0.5771 GB, free: 14.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/0.528, allocations: 4 kB / 0.5771 GB, free: 14.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005509/0.5335, allocations: 1.771 MB / 0.5788 GB, free: 12.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.5335, allocations: 11.94 kB / 0.5788 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.5335, allocations: 12 kB / 0.5788 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003418/0.5369, allocations: 473.8 kB / 0.5793 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.538, allocations: 291.5 kB / 0.5796 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/0.5453, allocations: 4.115 MB / 0.5836 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.5464, allocations: 43.98 kB / 0.5836 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.5466, allocations: 67.98 kB / 0.5837 GB, free: 7.367 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (143): * Single equations (assignments): 141 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006245/0.5472, allocations: 281.5 kB / 0.584 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.5474, allocations: 87.44 kB / 0.5841 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006336/0.5538, allocations: 1.75 MB / 0.5858 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.5538, allocations: 16 kB / 0.5858 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5538, allocations: 0 / 0.5858 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.5538, allocations: 3.984 kB / 0.5858 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007891/0.5617, allocations: 2.613 MB / 0.5883 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.5617, allocations: 0 / 0.5883 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5627, allocations: 200.1 kB / 0.5885 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004853/0.5675, allocations: 0.533 MB / 0.589 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.5677, allocations: 35.98 kB / 0.5891 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008512/0.5762, allocations: 5.252 MB / 0.5942 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5762, allocations: 4 kB / 0.5942 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007161/0.5834, allocations: 2.332 MB / 0.5965 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.5837, allocations: 79.47 kB / 0.5966 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.5838, allocations: 23.94 kB / 0.5966 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.5843, allocations: 35.92 kB / 0.5966 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.5846, allocations: 100.8 kB / 0.5967 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.933e-05/0.5847, allocations: 43.98 kB / 0.5968 GB, free: 9.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005624/0.5852, allocations: 355.1 kB / 0.5971 GB, free: 9.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5852, allocations: 0 / 0.5971 GB, free: 9.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002262/0.5875, allocations: 0.5963 MB / 0.5977 GB, free: 8.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.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 (100): * Single equations (assignments): 97 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.5888, allocations: 0.6379 MB / 0.5983 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.5914, allocations: 1.391 MB / 0.5997 GB, free: 6.508 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.5914, allocations: 0 / 0.5997 GB, free: 6.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.5929, allocations: 0.955 MB / 0.6006 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.594, allocations: 228.5 kB / 0.6008 GB, free: 5.297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.5983, allocations: 2.274 MB / 0.603 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.5989, allocations: 494.1 kB / 0.6035 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.5993, allocations: 199.3 kB / 0.6037 GB, free: 2.242 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5993, allocations: 0 / 0.6037 GB, free: 2.242 MB / 446.1 MB Notification: Performance of Templates: time 0.04092/0.6402, allocations: 29.74 MB / 0.6327 GB, free: 4.559 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.42178946401691] Failed to read output from testmodel.py, exit status != 0: 0.6497236589784734 0.6645210060000001 0.20835154900000002 Calling exit ...