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.001337/0.001337, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001447/0.001447, allocations: 156 kB / 23.01 MB, free: 4.602 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.362/1.362, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.127/0.127, allocations: 17.44 MB / 277.2 MB, free: 15.2 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.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: 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.002048/0.002048, allocations: 67.91 kB / 412.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1158, allocations: 59.87 MB / 472.5 MB, free: 9.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.2343/0.35, allocations: 11.78 MB / 484.2 MB, free: 43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1989/0.549, allocations: 147.2 MB / 0.6167 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.5504, allocations: 59.69 kB / 0.6167 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.5534, allocations: 1.13 MB / 0.6178 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003187/0.5566, allocations: 1.365 MB / 0.6192 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.5604, allocations: 1.665 MB / 0.6208 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005005/0.5654, allocations: 3.785 MB / 0.6245 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.5664, allocations: 0.7179 MB / 0.6252 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.5679, allocations: 1.347 MB / 0.6265 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.5702, allocations: 1.606 MB / 0.6281 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.5706, allocations: 332 kB / 0.6284 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.5734, allocations: 1.248 MB / 0.6296 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007775/0.5742, allocations: 0.9342 MB / 0.6305 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.5757, allocations: 1.433 MB / 0.6319 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006871/0.5825, allocations: 5.514 MB / 0.6373 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5825, allocations: 7.938 kB / 0.6373 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5825, allocations: 0 / 0.6373 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.302e-05/0.5826, allocations: 0 / 0.6373 GB, free: 10.51 MB / 0.5294 GB 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.00631/0.5889, allocations: 3.995 MB / 0.6412 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5889, allocations: 8.031 kB / 0.6412 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.5909, allocations: 0.7321 MB / 0.6419 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.5931, allocations: 1.407 MB / 0.6433 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003848/0.5935, allocations: 429.4 kB / 0.6437 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/0.5939, allocations: 344.3 kB / 0.644 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.6065, allocations: 10.64 MB / 0.6544 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.273e-05/0.6065, allocations: 3.938 kB / 0.6544 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.6068, allocations: 136 kB / 0.6546 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005096/0.6073, allocations: 475.7 kB / 0.655 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/0.6288, allocations: 19.86 MB / 0.6744 GB, free: 4.344 MB / 0.5606 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.02769/0.6565, allocations: 16.98 MB / 0.691 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00353/0.6601, allocations: 2.253 MB / 0.6932 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2036/0.8637, allocations: 1.713 MB / 0.6949 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/0.8765, allocations: 8.044 MB / 0.7027 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.8765, allocations: 47.44 kB / 0.7028 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 3.106e-06/0.8765, allocations: 0 / 0.7028 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=190): time 0.0934/0.9699, allocations: 23.03 MB / 0.7253 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01212/0.982, allocations: 6.006 MB / 0.7311 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.984, allocations: 1.69 MB / 0.7328 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005288/0.9845, allocations: 56.55 kB / 0.7328 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008693/0.9853, allocations: 1.863 MB / 0.7347 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006056/0.986, allocations: 0.6741 MB / 0.7353 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.9872, allocations: 0.6901 MB / 0.736 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.9873, allocations: 302.3 kB / 0.7363 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/0.991, allocations: 2.455 MB / 0.7387 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00424/0.9953, allocations: 3.225 MB / 0.7418 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1639/1.159, allocations: 29.08 MB / 0.7702 GB, free: 145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.433e-05/1.159, allocations: 12 kB / 0.7702 GB, free: 145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01941/1.179, allocations: 8.037 MB / 0.7781 GB, free: 137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/1.179, allocations: 18.69 kB / 0.7781 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/1.179, allocations: 27.98 kB / 0.7781 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02206/1.201, allocations: 4.411 MB / 0.7824 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005493/1.206, allocations: 0.983 MB / 0.7834 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.217, allocations: 9.836 MB / 0.793 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/1.221, allocations: 154.5 kB / 0.7931 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008894/1.222, allocations: 422.9 kB / 0.7936 GB, free: 120.8 MB / 0.5762 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.002117/1.224, allocations: 0.9155 MB / 0.7944 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008061/1.225, allocations: 229.2 kB / 0.7947 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02651/1.251, allocations: 8.31 MB / 0.8028 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/1.251, allocations: 20 kB / 0.8028 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/1.251, allocations: 4 kB / 0.8028 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.193e-05/1.251, allocations: 7.969 kB / 0.8028 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03273/1.284, allocations: 12.64 MB / 0.8152 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/1.284, allocations: 4 kB / 0.8152 GB, free: 98.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00446/1.289, allocations: 0.694 MB / 0.8158 GB, free: 97.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02177/1.31, allocations: 4.072 MB / 0.8198 GB, free: 93.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005852/1.311, allocations: 115.9 kB / 0.8199 GB, free: 93.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02821/1.339, allocations: 16.58 MB / 0.8361 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009789/1.349, allocations: 4.661 MB / 0.8407 GB, free: 71.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0281/1.377, allocations: 9.821 MB / 0.8503 GB, free: 61.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/1.378, allocations: 190.5 kB / 0.8504 GB, free: 61.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006755/1.378, allocations: 44.17 kB / 0.8505 GB, free: 61.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/1.381, allocations: 115.8 kB / 0.8506 GB, free: 61.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/1.382, allocations: 233.5 kB / 0.8508 GB, free: 61.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003652/1.382, allocations: 207.9 kB / 0.851 GB, free: 61.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00152/1.384, allocations: 1.337 MB / 0.8523 GB, free: 59.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.384, allocations: 0 / 0.8523 GB, free: 59.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003164/1.387, allocations: 0.9684 MB / 0.8533 GB, free: 58.71 MB / 0.5762 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.000782/1.388, allocations: 433.4 kB / 0.8537 GB, free: 58.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.398, allocations: 5.445 MB / 0.859 GB, free: 52.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.398, allocations: 4 kB / 0.859 GB, free: 52.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006688/1.404, allocations: 3.14 MB / 0.8621 GB, free: 49.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/1.407, allocations: 498.4 kB / 0.8625 GB, free: 49.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.419, allocations: 7.671 MB / 0.87 GB, free: 41.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/1.421, allocations: 1.668 MB / 0.8717 GB, free: 39.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002897/1.424, allocations: 0.8998 MB / 0.8725 GB, free: 38.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/1.425, allocations: 352.2 kB / 0.8729 GB, free: 38.55 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.425, allocations: 0 / 0.8729 GB, free: 38.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.2831/1.708, allocations: 72.09 MB / 0.9433 GB, free: 166.5 MB / 0.5762 GB " [Timeout remaining time 658] 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.466058352962136] Failed to read output from testmodel.py, exit status != 0: 1.716423899983056 1.732295317 1.1462184229999999 Calling exit ...