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.001457/0.001457, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001158/0.001158, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.038/1.038, allocations: 177.1 MB / 203.4 MB, free: 5.211 MB / 186.7 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.09536/0.09536, allocations: 17.45 MB / 277.4 MB, free: 11.47 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 353.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.456e-05, allocations: 2.312 kB / 353.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01039/0.01042, allocations: 13.9 MB / 367.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3541/0.3645, allocations: 164.1 MB / 0.5191 GB, free: 32.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.3676, allocations: 86.38 kB / 0.5192 GB, free: 32.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.3711, allocations: 1.252 MB / 0.5204 GB, free: 31.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004831/0.3759, allocations: 1.689 MB / 0.522 GB, free: 30.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0045/0.3804, allocations: 1.948 MB / 0.5239 GB, free: 29.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.3865, allocations: 4.169 MB / 0.528 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.3876, allocations: 0.7296 MB / 0.5287 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.391, allocations: 2.118 MB / 0.5308 GB, free: 26.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.3933, allocations: 1.541 MB / 0.5323 GB, free: 25.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004992/0.3938, allocations: 334.1 kB / 0.5326 GB, free: 25.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.3972, allocations: 1.509 MB / 0.5341 GB, free: 25.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006179/0.3978, allocations: 1.049 MB / 0.5351 GB, free: 24.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.3992, allocations: 1.215 MB / 0.5363 GB, free: 24.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00652/0.4057, allocations: 4.283 MB / 0.5405 GB, free: 21.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4057, allocations: 0 / 0.5405 GB, free: 21.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4057, allocations: 0 / 0.5405 GB, free: 21.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000132/0.4058, allocations: 0 / 0.5405 GB, free: 21.41 MB / 410.7 MB 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.004373/0.4102, allocations: 4.406 MB / 0.5448 GB, free: 17.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4102, allocations: 8.031 kB / 0.5448 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.4117, allocations: 1.562 MB / 0.5463 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.4136, allocations: 1.974 MB / 0.5482 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.4138, allocations: 429.4 kB / 0.5487 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.414, allocations: 340.3 kB / 0.549 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.4176, allocations: 3.806 MB / 0.5527 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.4176, allocations: 4.188 kB / 0.5527 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.4178, allocations: 143.3 kB / 0.5528 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003003/0.4181, allocations: 479.6 kB / 0.5533 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005443/0.4235, allocations: 5.541 MB / 0.5587 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.4384, allocations: 13.46 MB / 0.5718 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.4398, allocations: 1.04 MB / 0.5729 GB, free: 4.531 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008728/0.4407, allocations: 0.6087 MB / 0.5735 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008469/0.4492, allocations: 6.391 MB / 0.5797 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.4492, allocations: 50.7 kB / 0.5797 GB, free: 13.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=136): time 3.767e-06/0.4492, allocations: 0 / 0.5797 GB, free: 13.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=190): time 0.04518/0.4944, allocations: 14.45 MB / 0.5939 GB, free: 14.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006803/0.5012, allocations: 5.269 MB / 0.599 GB, free: 9.344 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.5033, allocations: 1.755 MB / 0.6007 GB, free: 7.535 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000565/0.5039, allocations: 57.7 kB / 0.6008 GB, free: 7.473 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.5053, allocations: 2.005 MB / 0.6027 GB, free: 5.445 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008098/0.5061, allocations: 0.6702 MB / 0.6034 GB, free: 4.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.5073, allocations: 0.6745 MB / 0.604 GB, free: 4.086 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.5074, allocations: 476.8 kB / 0.6045 GB, free: 3.617 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.509, allocations: 1.012 MB / 0.6055 GB, free: 2.602 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.5112, allocations: 2.093 MB / 0.6075 GB, free: 36 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2458/0.7571, allocations: 4.485 MB / 0.6119 GB, free: 62.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/0.7571, allocations: 10.91 kB / 0.6119 GB, free: 62.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01349/0.7706, allocations: 5.112 MB / 0.6169 GB, free: 62.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.7706, allocations: 15.59 kB / 0.6169 GB, free: 62.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.576e-05/0.7707, allocations: 27.25 kB / 0.617 GB, free: 62.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/0.7838, allocations: 3.754 MB / 0.6206 GB, free: 61.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.7869, allocations: 0.8764 MB / 0.6215 GB, free: 61.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/0.8029, allocations: 13.07 MB / 0.6342 GB, free: 52.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.8052, allocations: 133.3 kB / 0.6344 GB, free: 52.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007406/0.8059, allocations: 405.1 kB / 0.6348 GB, free: 52.41 MB / 458.7 MB 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: 110 * 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 (252): * Single equations (assignments): 245 * 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): 2 systems {(1,4,100.0%), (5,13,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,5), (2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001728/0.8077, allocations: 311 kB / 0.635 GB, free: 52.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.8087, allocations: 308.1 kB / 0.6353 GB, free: 52.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/0.8245, allocations: 5.657 MB / 0.6409 GB, free: 51.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-05/0.8245, allocations: 17.53 kB / 0.6409 GB, free: 51.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.989e-05/0.8245, allocations: 8.859 kB / 0.6409 GB, free: 51.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.455e-05/0.8246, allocations: 7.219 kB / 0.6409 GB, free: 51.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02259/0.8472, allocations: 10.04 MB / 0.6507 GB, free: 50.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/0.8472, allocations: 3.312 kB / 0.6507 GB, free: 50.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/0.8498, allocations: 0.6011 MB / 0.6513 GB, free: 50.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/0.8636, allocations: 3.837 MB / 0.655 GB, free: 50.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005834/0.8641, allocations: 112.3 kB / 0.6552 GB, free: 50.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.8799, allocations: 14.36 MB / 0.6692 GB, free: 39.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005851/0.8858, allocations: 4.875 MB / 0.6739 GB, free: 35.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.9011, allocations: 5.545 MB / 0.6794 GB, free: 34.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006865/0.9018, allocations: 188.6 kB / 0.6795 GB, free: 34.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004905/0.9023, allocations: 47.98 kB / 0.6796 GB, free: 34.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.9036, allocations: 90.95 kB / 0.6797 GB, free: 34.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/0.9043, allocations: 232.3 kB / 0.6799 GB, free: 34.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000285/0.9046, allocations: 211.1 kB / 0.6801 GB, free: 34.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.9058, allocations: 1.009 MB / 0.6811 GB, free: 33.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9058, allocations: 0 / 0.6811 GB, free: 33.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003862/0.9097, allocations: 1.061 MB / 0.6821 GB, free: 32.76 MB / 458.7 MB 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.0009863/0.9106, allocations: 449.2 kB / 0.6825 GB, free: 32.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006404/0.917, allocations: 3.828 MB / 0.6863 GB, free: 28.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.917, allocations: 0 / 0.6863 GB, free: 28.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003965/0.921, allocations: 2.597 MB / 0.6888 GB, free: 25.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.9233, allocations: 0.5978 MB / 0.6894 GB, free: 25.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.9339, allocations: 6.682 MB / 0.6959 GB, free: 18.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009848/0.9349, allocations: 0.7223 MB / 0.6966 GB, free: 17.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002672/0.9376, allocations: 0.8743 MB / 0.6975 GB, free: 17.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.9387, allocations: 352.2 kB / 0.6978 GB, free: 16.77 MB / 458.7 MB Notification: Performance of SimCode: time 3.005e-06/0.9387, allocations: 0 / 0.6978 GB, free: 16.77 MB / 458.7 MB Notification: Performance of Templates: time 0.1155/1.054, allocations: 93.13 MB / 0.7888 GB, free: 4.004 MB / 0.5261 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.417211782187223]