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.001338/0.001338, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001514/0.001514, allocations: 222.8 kB / 23 MB, free: 4.914 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: 230.6 MB / 256.8 MB, free: 7.805 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.1431/0.1431, allocations: 23.99 MB / 337.2 MB, free: 10.85 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.002101/0.002101, allocations: 71.83 kB / 472.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4172, allocations: 59.89 MB / 0.5199 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01377/0.431, allocations: 11.79 MB / 0.5315 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2629/0.6939, allocations: 147.3 MB / 0.6753 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004591/0.6985, allocations: 55.69 kB / 0.6753 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005116/0.7036, allocations: 1.126 MB / 0.6764 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006776/0.7104, allocations: 1.361 MB / 0.6778 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005714/0.7161, allocations: 1.669 MB / 0.6794 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007993/0.7241, allocations: 3.78 MB / 0.6831 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.726, allocations: 0.7179 MB / 0.6838 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.7287, allocations: 1.343 MB / 0.6851 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.732, allocations: 1.606 MB / 0.6867 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.7331, allocations: 328 kB / 0.687 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.7375, allocations: 1.248 MB / 0.6882 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.7389, allocations: 0.9341 MB / 0.6891 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002981/0.7419, allocations: 1.43 MB / 0.6905 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.7524, allocations: 5.522 MB / 0.6959 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.7524, allocations: 0 / 0.6959 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7524, allocations: 4 kB / 0.6959 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000221/0.7526, allocations: 0 / 0.6959 GB, free: 4.902 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.009673/0.7623, allocations: 3.991 MB / 0.6998 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.7624, allocations: 16.02 kB / 0.6998 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.7645, allocations: 0.7398 MB / 0.7005 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.7673, allocations: 1.403 MB / 0.7019 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004441/0.7678, allocations: 441.4 kB / 0.7023 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004953/0.7683, allocations: 340.3 kB / 0.7026 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.7832, allocations: 10.65 MB / 0.713 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.717e-05/0.7833, allocations: 0 / 0.713 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.7836, allocations: 136 kB / 0.7132 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005379/0.7841, allocations: 479.7 kB / 0.7136 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3189/1.103, allocations: 19.85 MB / 0.733 GB, free: 187.2 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.03202/1.135, allocations: 16.99 MB / 0.7496 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/1.139, allocations: 2.247 MB / 0.7518 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/1.141, allocations: 1.724 MB / 0.7535 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/1.157, allocations: 8.053 MB / 0.7613 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/1.157, allocations: 47.22 kB / 0.7614 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 4.529e-06/1.157, allocations: 0 / 0.7614 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190): time 0.09322/1.25, allocations: 22.99 MB / 0.7838 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01138/1.261, allocations: 6.013 MB / 0.7897 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/1.263, allocations: 1.686 MB / 0.7914 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006523/1.264, allocations: 57.7 kB / 0.7914 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/1.264, allocations: 1.852 MB / 0.7932 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/1.265, allocations: 0.6767 MB / 0.7939 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/1.266, allocations: 0.6867 MB / 0.7946 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/1.266, allocations: 301.1 kB / 0.7948 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/1.269, allocations: 2.455 MB / 0.7972 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/1.273, allocations: 3.226 MB / 0.8004 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1526/1.425, allocations: 28.78 MB / 0.8285 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.79e-05/1.425, allocations: 4 kB / 0.8285 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01971/1.445, allocations: 8.051 MB / 0.8364 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/1.445, allocations: 26.58 kB / 0.8364 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/1.445, allocations: 24 kB / 0.8364 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/1.467, allocations: 4.347 MB / 0.8407 GB, free: 96.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005256/1.472, allocations: 0.9881 MB / 0.8416 GB, free: 95.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/1.483, allocations: 9.837 MB / 0.8512 GB, free: 84.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.486, allocations: 154.5 kB / 0.8514 GB, free: 84.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005831/1.487, allocations: 430.5 kB / 0.8518 GB, free: 84.31 MB / 0.5606 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.001954/1.489, allocations: 0.9096 MB / 0.8527 GB, free: 83.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006669/1.49, allocations: 226.5 kB / 0.8529 GB, free: 83.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02596/1.515, allocations: 8.31 MB / 0.861 GB, free: 74.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/1.516, allocations: 19.94 kB / 0.861 GB, free: 74.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/1.516, allocations: 8 kB / 0.861 GB, free: 74.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/1.516, allocations: 11.95 kB / 0.861 GB, free: 74.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03236/1.548, allocations: 12.62 MB / 0.8734 GB, free: 62.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/1.548, allocations: 4 kB / 0.8734 GB, free: 62.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00449/1.552, allocations: 0.7026 MB / 0.8741 GB, free: 61.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02128/1.574, allocations: 4.022 MB / 0.878 GB, free: 57.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006551/1.574, allocations: 111.9 kB / 0.8781 GB, free: 57.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02855/1.603, allocations: 16.58 MB / 0.8943 GB, free: 40 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00991/1.613, allocations: 4.669 MB / 0.8988 GB, free: 35.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/1.64, allocations: 9.821 MB / 0.9084 GB, free: 25.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/1.641, allocations: 194.5 kB / 0.9086 GB, free: 25.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006841/1.642, allocations: 43.94 kB / 0.9087 GB, free: 24.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.644, allocations: 111.9 kB / 0.9088 GB, free: 24.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007052/1.645, allocations: 225.6 kB / 0.909 GB, free: 24.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.645, allocations: 203.9 kB / 0.9092 GB, free: 24.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001449/1.647, allocations: 1.341 MB / 0.9105 GB, free: 23.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.647, allocations: 0 / 0.9105 GB, free: 23.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003143/1.65, allocations: 0.9761 MB / 0.9114 GB, free: 22.11 MB / 0.5606 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.0007818/1.651, allocations: 433.5 kB / 0.9119 GB, free: 21.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.661, allocations: 5.45 MB / 0.9172 GB, free: 16.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.661, allocations: 4.125 kB / 0.9172 GB, free: 16.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006681/1.667, allocations: 3.129 MB / 0.9202 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/1.67, allocations: 483.3 kB / 0.9207 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/1.682, allocations: 7.892 MB / 0.9284 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/1.683, allocations: 1.684 MB / 0.93 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.685, allocations: 407 kB / 0.9304 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/1.685, allocations: 0 / 0.9304 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.3996/2.085, allocations: 177.9 MB / 1.104 GB, free: 55.26 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 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.828154046088457] Failed to read output from testmodel.py, exit status != 0: 2.0947625818662345 2.103858948 1.348981483 Calling exit ...