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.001952/0.001952, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002725/0.002725, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.635/1.635, allocations: 230.6 MB / 256 MB, free: 7.996 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.1499/0.1499, allocations: 23.9 MB / 336.3 MB, free: 11.17 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.89 kB / 471.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3943, allocations: 59.87 MB / 0.5191 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01393/0.4082, allocations: 13.64 MB / 0.5324 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2394/0.6476, allocations: 167.8 MB / 0.6963 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004007/0.6517, allocations: 55.69 kB / 0.6963 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005489/0.6571, allocations: 1.204 MB / 0.6975 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006074/0.6632, allocations: 1.338 MB / 0.6988 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005706/0.6689, allocations: 1.669 MB / 0.7005 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008774/0.6777, allocations: 3.716 MB / 0.7041 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.6794, allocations: 0.7248 MB / 0.7048 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.682, allocations: 1.319 MB / 0.7061 GB, free: 10 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.6856, allocations: 1.763 MB / 0.7078 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008564/0.6864, allocations: 327.9 kB / 0.7081 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005621/0.6921, allocations: 1.775 MB / 0.7099 GB, free: 6.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.6933, allocations: 0.9147 MB / 0.7107 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.6961, allocations: 1.861 MB / 0.7126 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.707, allocations: 5.546 MB / 0.718 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.707, allocations: 3.938 kB / 0.718 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.707, allocations: 0 / 0.718 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001384/0.7071, allocations: 4 kB / 0.718 GB, free: 13.77 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.008528/0.7157, allocations: 3.94 MB / 0.7218 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.7157, allocations: 8.031 kB / 0.7218 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.7172, allocations: 0.6385 MB / 0.7225 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.72, allocations: 1.376 MB / 0.7238 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/0.7204, allocations: 433.2 kB / 0.7242 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004901/0.7209, allocations: 320.3 kB / 0.7245 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2885/1.009, allocations: 10.22 MB / 0.7345 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.825e-05/1.009, allocations: 1.125 kB / 0.7345 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/1.01, allocations: 133.4 kB / 0.7346 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000541/1.01, allocations: 470 kB / 0.7351 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/1.032, allocations: 18.74 MB / 0.7534 GB, free: 180.4 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.02922/1.061, allocations: 19.01 MB / 0.7719 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/1.064, allocations: 2.273 MB / 0.7742 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/1.066, allocations: 1.612 MB / 0.7757 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/1.079, allocations: 8.369 MB / 0.7839 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/1.079, allocations: 47.81 kB / 0.784 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 3.436e-06/1.079, allocations: 0 / 0.784 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.0918/1.171, allocations: 22.33 MB / 0.8058 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05354/1.224, allocations: 16.6 MB / 0.822 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/1.227, allocations: 2.354 MB / 0.8243 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005463/1.228, allocations: 53.7 kB / 0.8243 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008685/1.229, allocations: 1.814 MB / 0.8261 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008193/1.229, allocations: 0.6611 MB / 0.8267 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/1.231, allocations: 0.6644 MB / 0.8274 GB, free: 110 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.499e-05/1.231, allocations: 305.1 kB / 0.8277 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/1.234, allocations: 2.382 MB / 0.83 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/1.238, allocations: 3.157 MB / 0.8331 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1586/1.396, allocations: 27.93 MB / 0.8604 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/1.397, allocations: 8 kB / 0.8604 GB, free: 75.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02024/1.417, allocations: 7.919 MB / 0.8681 GB, free: 68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/1.417, allocations: 16 kB / 0.8681 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/1.417, allocations: 24 kB / 0.8681 GB, free: 67.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02262/1.439, allocations: 4.393 MB / 0.8724 GB, free: 63.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/1.444, allocations: 0.7464 MB / 0.8732 GB, free: 62.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/1.455, allocations: 10.01 MB / 0.8829 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/1.459, allocations: 123.9 kB / 0.8831 GB, free: 52.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007419/1.459, allocations: 411.8 kB / 0.8835 GB, free: 51.92 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 (249): * Single equations (assignments): 242 * 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.002207/1.462, allocations: 0.9065 MB / 0.8843 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008325/1.462, allocations: 266.3 kB / 0.8846 GB, free: 50.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02687/1.489, allocations: 8.058 MB / 0.8925 GB, free: 42.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/1.489, allocations: 19.98 kB / 0.8925 GB, free: 42.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/1.489, allocations: 8 kB / 0.8925 GB, free: 42.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.338e-05/1.489, allocations: 7.969 kB / 0.8925 GB, free: 42.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03456/1.524, allocations: 13.46 MB / 0.9056 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/1.524, allocations: 4.281 kB / 0.9056 GB, free: 28.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003361/1.527, allocations: 447.4 kB / 0.9061 GB, free: 28.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03396/1.561, allocations: 5.123 MB / 0.9111 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006039/1.562, allocations: 115.8 kB / 0.9112 GB, free: 23.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02747/1.589, allocations: 16.06 MB / 0.9269 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05513/1.644, allocations: 14.81 MB / 0.9413 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2845/1.929, allocations: 9.485 MB / 0.9506 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/1.93, allocations: 270 kB / 0.9509 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007492/1.93, allocations: 46.34 kB / 0.9509 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/1.933, allocations: 79.84 kB / 0.951 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008376/1.934, allocations: 218.7 kB / 0.9512 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004221/1.934, allocations: 193.4 kB / 0.9514 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003004/1.937, allocations: 1.844 MB / 0.9532 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.937, allocations: 0 / 0.9532 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004663/1.942, allocations: 0.9958 MB / 0.9541 GB, free: 187.7 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,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.substance.amountOfBonds,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 (131): * Single equations (assignments): 124 * 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 {(9,25), (2,3), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/1.943, allocations: 433.6 kB / 0.9546 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.956, allocations: 5.26 MB / 0.9597 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.956, allocations: 3.938 kB / 0.9597 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008487/1.964, allocations: 3.029 MB / 0.9627 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/1.967, allocations: 0.5523 MB / 0.9632 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.982, allocations: 7.702 MB / 0.9707 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/1.985, allocations: 2.207 MB / 0.9729 GB, free: 179.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003676/1.989, allocations: 0.9307 MB / 0.9738 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/1.99, allocations: 350.5 kB / 0.9741 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.733e-06/1.99, allocations: 0 / 0.9741 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.09991/2.09, allocations: 83.92 MB / 1.056 GB, free: 108.7 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.711652827914804] Failed to read output from testmodel.py, exit status != 0: 2.0998422857373953 2.109021871 1.399518276 Calling exit ...