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.001319/0.001319, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001437/0.001437, allocations: 213 kB / 22.25 MB, free: 4.855 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.801 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.1371/0.1371, allocations: 23.98 MB / 336.4 MB, free: 10.86 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.00214/0.00214, allocations: 63.91 kB / 471.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3415, allocations: 59.89 MB / 0.5192 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.0113/0.3528, allocations: 11.78 MB / 0.5307 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2539/0.6067, allocations: 147.3 MB / 0.6745 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.6103, allocations: 55.69 kB / 0.6746 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004636/0.615, allocations: 1.13 MB / 0.6757 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006031/0.621, allocations: 1.361 MB / 0.677 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005306/0.6263, allocations: 1.669 MB / 0.6787 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007519/0.6338, allocations: 3.772 MB / 0.6823 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.6352, allocations: 0.7296 MB / 0.6831 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.6374, allocations: 1.343 MB / 0.6844 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.6402, allocations: 1.602 MB / 0.6859 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005935/0.6408, allocations: 328 kB / 0.6862 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.6446, allocations: 1.245 MB / 0.6875 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009538/0.6455, allocations: 0.9419 MB / 0.6884 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.6476, allocations: 1.426 MB / 0.6898 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008773/0.6564, allocations: 5.522 MB / 0.6952 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6564, allocations: 3.938 kB / 0.6952 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6564, allocations: 0 / 0.6952 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001236/0.6565, allocations: 0 / 0.6952 GB, free: 4.973 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.007066/0.6635, allocations: 3.999 MB / 0.6991 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6636, allocations: 8.031 kB / 0.6991 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.6657, allocations: 0.7398 MB / 0.6998 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.6682, allocations: 1.403 MB / 0.7012 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.6686, allocations: 433.4 kB / 0.7016 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004397/0.669, allocations: 336.3 kB / 0.7019 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.6825, allocations: 10.65 MB / 0.7123 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-05/0.6825, allocations: 11.92 kB / 0.7123 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.6828, allocations: 128 kB / 0.7124 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005104/0.6833, allocations: 475.7 kB / 0.7129 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.264/0.9473, allocations: 19.85 MB / 0.7323 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.02754/0.9748, allocations: 16.99 MB / 0.7489 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.9779, allocations: 2.244 MB / 0.7511 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/0.9802, allocations: 1.719 MB / 0.7527 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/0.9946, allocations: 8.055 MB / 0.7606 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.9946, allocations: 50.22 kB / 0.7607 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 3.948e-06/0.9946, allocations: 0 / 0.7607 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190): time 0.09514/1.09, allocations: 22.98 MB / 0.7831 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01152/1.101, allocations: 6 MB / 0.789 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/1.104, allocations: 1.687 MB / 0.7906 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007565/1.104, allocations: 57.7 kB / 0.7907 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00088/1.105, allocations: 1.85 MB / 0.7925 GB, free: 145 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.106, allocations: 0.6784 MB / 0.7931 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/1.108, allocations: 0.6881 MB / 0.7938 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.385e-05/1.108, allocations: 305.1 kB / 0.7941 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/1.112, allocations: 2.455 MB / 0.7965 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/1.115, allocations: 3.228 MB / 0.7996 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1564/1.272, allocations: 28.77 MB / 0.8277 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.887e-05/1.272, allocations: 8 kB / 0.8278 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02036/1.292, allocations: 8.052 MB / 0.8356 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/1.292, allocations: 19.94 kB / 0.8356 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.292, allocations: 30.66 kB / 0.8357 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02194/1.314, allocations: 4.359 MB / 0.8399 GB, free: 96.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005222/1.32, allocations: 0.978 MB / 0.8409 GB, free: 95.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/1.331, allocations: 9.834 MB / 0.8505 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/1.334, allocations: 154.5 kB / 0.8506 GB, free: 84.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008807/1.335, allocations: 427.8 kB / 0.851 GB, free: 84.45 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.002997/1.338, allocations: 0.906 MB / 0.8519 GB, free: 83.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.339, allocations: 226.5 kB / 0.8521 GB, free: 83.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02723/1.366, allocations: 8.325 MB / 0.8603 GB, free: 75.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/1.366, allocations: 18.72 kB / 0.8603 GB, free: 75.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/1.366, allocations: 8 kB / 0.8603 GB, free: 75.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/1.366, allocations: 7.969 kB / 0.8603 GB, free: 75.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03394/1.4, allocations: 12.63 MB / 0.8726 GB, free: 62.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/1.4, allocations: 0 / 0.8726 GB, free: 62.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004613/1.405, allocations: 0.6987 MB / 0.8733 GB, free: 61.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02135/1.426, allocations: 4.034 MB / 0.8773 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006256/1.427, allocations: 115.9 kB / 0.8774 GB, free: 57.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02816/1.455, allocations: 16.58 MB / 0.8936 GB, free: 40.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009576/1.465, allocations: 4.66 MB / 0.8981 GB, free: 35.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02799/1.493, allocations: 9.813 MB / 0.9077 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/1.493, allocations: 190.5 kB / 0.9079 GB, free: 25.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008741/1.494, allocations: 51.88 kB / 0.9079 GB, free: 25.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.497, allocations: 103.9 kB / 0.908 GB, free: 25.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008381/1.498, allocations: 229.6 kB / 0.9082 GB, free: 24.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004574/1.498, allocations: 211.6 kB / 0.9084 GB, free: 24.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001689/1.5, allocations: 1.341 MB / 0.9097 GB, free: 23.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.5, allocations: 0 / 0.9097 GB, free: 23.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003456/1.503, allocations: 0.9722 MB / 0.9107 GB, free: 22.25 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.0009271/1.504, allocations: 440.9 kB / 0.9111 GB, free: 21.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.515, allocations: 5.454 MB / 0.9164 GB, free: 16.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.515, allocations: 0 / 0.9164 GB, free: 16.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007031/1.522, allocations: 3.129 MB / 0.9195 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/1.525, allocations: 485.2 kB / 0.92 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.538, allocations: 7.687 MB / 0.9275 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/1.541, allocations: 1.676 MB / 0.9291 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003889/1.545, allocations: 0.896 MB / 0.93 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/1.546, allocations: 339.1 kB / 0.9303 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/1.546, allocations: 4 kB / 0.9303 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of Templates: time 0.3342/1.881, allocations: 76.4 MB / 1.005 GB, free: 157.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 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.04915570653975] Failed to read output from testmodel.py, exit status != 0: 1.8896850794553757 1.897872711 1.239241364 Calling exit ...