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.001623/0.001623, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001611/0.001611, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.1438/0.1438, allocations: 23.88 MB / 337.1 MB, free: 11.19 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.002092/0.002092, allocations: 67.91 kB / 472.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4336, allocations: 59.88 MB / 0.5199 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01362/0.4473, allocations: 13.63 MB / 0.5332 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.249/0.6963, allocations: 167.8 MB / 0.6971 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005092/0.7014, allocations: 59.62 kB / 0.6971 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004926/0.7063, allocations: 1.2 MB / 0.6983 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005986/0.7123, allocations: 1.342 MB / 0.6996 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.7173, allocations: 1.669 MB / 0.7013 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007747/0.725, allocations: 3.716 MB / 0.7049 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.7265, allocations: 0.7326 MB / 0.7056 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.7289, allocations: 1.308 MB / 0.7069 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/0.7317, allocations: 1.782 MB / 0.7086 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005413/0.7323, allocations: 320 kB / 0.7089 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004776/0.7371, allocations: 1.771 MB / 0.7106 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008853/0.7379, allocations: 0.9147 MB / 0.7115 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.7402, allocations: 1.865 MB / 0.7134 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.7511, allocations: 5.546 MB / 0.7188 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7511, allocations: 0 / 0.7188 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7511, allocations: 0 / 0.7188 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001282/0.7512, allocations: 0 / 0.7188 GB, free: 13.73 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.007959/0.7592, allocations: 3.936 MB / 0.7226 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.7592, allocations: 15.97 kB / 0.7226 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.7607, allocations: 0.6385 MB / 0.7233 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.7631, allocations: 1.376 MB / 0.7246 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004203/0.7635, allocations: 429.3 kB / 0.725 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/0.7639, allocations: 328.2 kB / 0.7253 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3323/1.096, allocations: 10.22 MB / 0.7353 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/1.096, allocations: 0 / 0.7353 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/1.097, allocations: 126.9 kB / 0.7354 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005402/1.097, allocations: 476.5 kB / 0.7359 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/1.12, allocations: 18.73 MB / 0.7542 GB, free: 180.5 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.02786/1.148, allocations: 19.01 MB / 0.7727 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/1.151, allocations: 2.276 MB / 0.775 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/1.152, allocations: 1.609 MB / 0.7765 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/1.165, allocations: 8.379 MB / 0.7847 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/1.165, allocations: 49.06 kB / 0.7848 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 3.176e-06/1.165, allocations: 0 / 0.7848 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.08758/1.253, allocations: 22.33 MB / 0.8066 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05258/1.305, allocations: 16.59 MB / 0.8228 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/1.308, allocations: 2.358 MB / 0.8251 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006786/1.309, allocations: 53.7 kB / 0.8251 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009682/1.31, allocations: 1.816 MB / 0.8269 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008013/1.311, allocations: 0.6546 MB / 0.8275 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.312, allocations: 0.6644 MB / 0.8282 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/1.312, allocations: 305.1 kB / 0.8285 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/1.315, allocations: 2.385 MB / 0.8308 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/1.318, allocations: 3.154 MB / 0.8339 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1455/1.463, allocations: 27.94 MB / 0.8612 GB, free: 75.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-05/1.463, allocations: 8 kB / 0.8612 GB, free: 75.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01936/1.483, allocations: 7.911 MB / 0.8689 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/1.483, allocations: 16 kB / 0.8689 GB, free: 67.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-05/1.483, allocations: 28 kB / 0.8689 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0209/1.504, allocations: 4.389 MB / 0.8732 GB, free: 63.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/1.508, allocations: 0.7503 MB / 0.874 GB, free: 62.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/1.519, allocations: 10.01 MB / 0.8837 GB, free: 52.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/1.522, allocations: 123.9 kB / 0.8839 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006868/1.523, allocations: 410.5 kB / 0.8842 GB, free: 51.9 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.00205/1.525, allocations: 0.9051 MB / 0.8851 GB, free: 50.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008567/1.526, allocations: 273 kB / 0.8854 GB, free: 50.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02452/1.551, allocations: 8.053 MB / 0.8933 GB, free: 42.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/1.551, allocations: 24 kB / 0.8933 GB, free: 42.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/1.551, allocations: 4 kB / 0.8933 GB, free: 42.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.783e-05/1.551, allocations: 7.969 kB / 0.8933 GB, free: 42.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03164/1.582, allocations: 13.47 MB / 0.9064 GB, free: 28.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/1.582, allocations: 0 / 0.9064 GB, free: 28.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003142/1.585, allocations: 454.9 kB / 0.9069 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03198/1.617, allocations: 5.121 MB / 0.9119 GB, free: 23.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005779/1.618, allocations: 107.8 kB / 0.912 GB, free: 23.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02529/1.643, allocations: 16.09 MB / 0.9277 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05078/1.694, allocations: 14.8 MB / 0.9421 GB, free: 7.441 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3591/2.053, allocations: 9.477 MB / 0.9514 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/2.054, allocations: 269.3 kB / 0.9517 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007115/2.055, allocations: 47.12 kB / 0.9517 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/2.057, allocations: 80.72 kB / 0.9518 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008134/2.058, allocations: 217.9 kB / 0.952 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/2.059, allocations: 194.3 kB / 0.9522 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00309/2.062, allocations: 1.848 MB / 0.954 GB, free: 187.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/2.062, allocations: 0 / 0.954 GB, free: 187.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004722/2.066, allocations: 0.9903 MB / 0.9549 GB, free: 187.7 MB / 0.5763 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.001195/2.068, allocations: 433.5 kB / 0.9554 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01235/2.08, allocations: 5.268 MB / 0.9605 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/2.08, allocations: 0 / 0.9605 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008109/2.088, allocations: 3.022 MB / 0.9635 GB, free: 184.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/2.091, allocations: 0.5543 MB / 0.964 GB, free: 184.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/2.109, allocations: 7.9 MB / 0.9717 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/2.111, allocations: 2.208 MB / 0.9739 GB, free: 179.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/2.114, allocations: 403.5 kB / 0.9742 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.563e-06/2.114, allocations: 0 / 0.9742 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.1571/2.271, allocations: 177 MB / 1.147 GB, free: 16.1 MB / 0.5763 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: 17.75470379900071] Failed to read output from testmodel.py, exit status != 0: 2.280870620015776 2.290373508 1.5368331 Calling exit ...