Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.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.000807/0.000807, allocations: 72.5 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.000809/0.000809, allocations: 177.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.8533/0.8533, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.08194/0.08194, allocations: 17.44 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.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.331e-05, allocations: 2.281 kB / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.008552/0.008575, allocations: 12.14 MB / 425 MB, free: 3.547 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4043/0.4129, allocations: 148.6 MB / 0.5602 GB, free: 10.4 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.4144, allocations: 90.31 kB / 0.5602 GB, free: 10.36 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.4168, allocations: 1.248 MB / 0.5615 GB, free: 9.477 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.4192, allocations: 1.689 MB / 0.5631 GB, free: 8.074 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.4223, allocations: 1.911 MB / 0.565 GB, free: 6.543 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002944/0.4252, allocations: 4.159 MB / 0.569 GB, free: 4.023 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.4258, allocations: 0.7131 MB / 0.5697 GB, free: 3.562 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.4271, allocations: 2.118 MB / 0.5718 GB, free: 2.18 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.4283, allocations: 1.515 MB / 0.5733 GB, free: 0.6602 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.4285, allocations: 328 kB / 0.5736 GB, free: 348 kB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.4309, allocations: 1.509 MB / 0.5751 GB, free: 14.83 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.4314, allocations: 1.047 MB / 0.5761 GB, free: 13.78 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007257/0.4321, allocations: 1.208 MB / 0.5773 GB, free: 12.57 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.436, allocations: 5.705 MB / 0.5828 GB, free: 6.844 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.436, allocations: 0 / 0.5828 GB, free: 6.844 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.844e-06/0.436, allocations: 0 / 0.5828 GB, free: 6.844 MB / 474.8 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.4361, allocations: 0 / 0.5828 GB, free: 6.844 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.003491/0.4395, allocations: 4.065 MB / 0.5868 GB, free: 2.73 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4396, allocations: 12.02 kB / 0.5868 GB, free: 2.719 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.4406, allocations: 0.7789 MB / 0.5876 GB, free: 1.941 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.4426, allocations: 1.934 MB / 0.5895 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.4429, allocations: 433.3 kB / 0.5899 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.4431, allocations: 348.3 kB / 0.5902 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007334/0.4505, allocations: 10.64 MB / 0.6006 GB, free: 4.496 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/0.4505, allocations: 192 / 0.6006 GB, free: 4.496 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.4507, allocations: 136.3 kB / 0.6008 GB, free: 4.363 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002848/0.451, allocations: 479.6 kB / 0.6012 GB, free: 3.895 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.4633, allocations: 19.85 MB / 0.6206 GB, free: 36 kB / 0.4949 GB 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.1759/0.6392, allocations: 17 MB / 0.6372 GB, free: 151.2 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.641, allocations: 2.255 MB / 0.6394 GB, free: 150.2 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.6424, allocations: 1.726 MB / 0.6411 GB, free: 149.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007596/0.65, allocations: 8.06 MB / 0.649 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.65, allocations: 53.06 kB / 0.649 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=136): time 3.005e-06/0.65, allocations: 0 / 0.649 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=190): time 0.04518/0.6952, allocations: 21.73 MB / 0.6702 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006589/0.7018, allocations: 6.003 MB / 0.6761 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.7031, allocations: 1.688 MB / 0.6777 GB, free: 133 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.7033, allocations: 57.81 kB / 0.6778 GB, free: 133 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.7039, allocations: 1.865 MB / 0.6796 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/0.7043, allocations: 0.6651 MB / 0.6803 GB, free: 130.8 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008238/0.7052, allocations: 0.679 MB / 0.6809 GB, free: 130.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 1.92e-05/0.7052, allocations: 307.1 kB / 0.6812 GB, free: 129.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.7074, allocations: 2.453 MB / 0.6836 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.7097, allocations: 3.231 MB / 0.6868 GB, free: 124.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07525/0.785, allocations: 29.07 MB / 0.7152 GB, free: 95.87 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-05/0.785, allocations: 8 kB / 0.7152 GB, free: 95.86 MB / 0.4949 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01099/0.796, allocations: 8.071 MB / 0.7231 GB, free: 87.81 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.796, allocations: 18.66 kB / 0.7231 GB, free: 87.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.796, allocations: 24 kB / 0.7231 GB, free: 87.77 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/0.8066, allocations: 4.41 MB / 0.7274 GB, free: 83.41 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.8091, allocations: 0.9806 MB / 0.7284 GB, free: 82.45 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00641/0.8155, allocations: 9.839 MB / 0.738 GB, free: 72.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.8173, allocations: 154.5 kB / 0.7381 GB, free: 72.08 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/0.8177, allocations: 423.8 kB / 0.7385 GB, free: 71.67 MB / 0.4949 GB Warning: Assuming fixed start value for the following 1 variables: gasVolatility.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,5), (5,13), (2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001652/0.8193, allocations: 0.9113 MB / 0.7394 GB, free: 70.75 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.8197, allocations: 241.2 kB / 0.7396 GB, free: 70.51 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.8334, allocations: 8.307 MB / 0.7477 GB, free: 62.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8334, allocations: 16 kB / 0.7478 GB, free: 62.28 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8334, allocations: 8 kB / 0.7478 GB, free: 62.27 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.8334, allocations: 7.969 kB / 0.7478 GB, free: 62.27 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/0.8509, allocations: 12.63 MB / 0.7601 GB, free: 49.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.8509, allocations: 0 / 0.7601 GB, free: 49.43 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.8529, allocations: 0.7024 MB / 0.7608 GB, free: 48.73 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01105/0.864, allocations: 4.081 MB / 0.7648 GB, free: 44.63 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/0.8642, allocations: 111.9 kB / 0.7649 GB, free: 44.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/0.8796, allocations: 16.57 MB / 0.7811 GB, free: 27.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005035/0.8846, allocations: 4.665 MB / 0.7856 GB, free: 22.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.8992, allocations: 9.817 MB / 0.7952 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.8996, allocations: 190.5 kB / 0.7954 GB, free: 12.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.8999, allocations: 51.83 kB / 0.7954 GB, free: 12.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.9011, allocations: 112 kB / 0.7956 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/0.9015, allocations: 233.7 kB / 0.7958 GB, free: 12.04 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/0.9017, allocations: 207.8 kB / 0.796 GB, free: 11.83 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0009936/0.9027, allocations: 1.341 MB / 0.7973 GB, free: 10.47 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8e-08/0.9027, allocations: 0 / 0.7973 GB, free: 10.47 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002186/0.9049, allocations: 1.007 MB / 0.7983 GB, free: 9.461 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET1.x,liquid.temperature,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.logm,gasVolatility.rear.n_flow) * 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 (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,13,80.0%), (1,4,100.0%), (3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005576/0.9054, allocations: 447.9 kB / 0.7987 GB, free: 9.078 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.005829/0.9113, allocations: 5.441 MB / 0.804 GB, free: 3.605 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9113, allocations: 0 / 0.804 GB, free: 3.605 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003495/0.9148, allocations: 3.135 MB / 0.8071 GB, free: 420 kB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1455/1.06, allocations: 0.4962 MB / 0.8076 GB, free: 150.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00856/1.069, allocations: 7.775 MB / 0.8152 GB, free: 148 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.07, allocations: 1.679 MB / 0.8168 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.071, allocations: 432.6 kB / 0.8172 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.182e-06/1.071, allocations: 0 / 0.8172 GB, free: 147.8 MB / 0.4949 GB Notification: Performance of Templates: time 0.245/1.316, allocations: 180.3 MB / 0.9933 GB, free: 142 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Examples.WaterVaporization.sim & ./Chemical_master_Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.68493160419166] Failed to read output from testmodel.py, exit status != 0: 1.3212290480732918 1.327129295 0.889723044 Calling exit ...