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.0006792/0.0006792, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008616/0.001541, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.000726/0.000726, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008547/0.001581, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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 0.9354/0.9354, allocations: 177.1 MB / 189.6 MB, free: 5.34 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08217/1.018, allocations: 53.66 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08983/0.08983, allocations: 17.46 MB / 261.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01821/0.108, allocations: 6.961 MB / 268.4 MB, free: 6.418 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.814e-06/1.814e-06, allocations: 0 / 269.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.738e-05, allocations: 5.969 kB / 269.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.1404/0.1404, allocations: 13.76 MB / 283.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1643/0.3047, allocations: 140.5 MB / 423.9 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.3078, allocations: 87.31 kB / 424 MB, free: 7.746 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.311, allocations: 1.292 MB / 425.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.3154, allocations: 1.683 MB / 426.9 MB, free: 4.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.3192, allocations: 1.956 MB / 428.9 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1852/0.5044, allocations: 4.123 MB / 433 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.5056, allocations: 0.7594 MB / 433.8 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.5093, allocations: 2.253 MB / 436 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.512, allocations: 1.503 MB / 437.5 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007632/0.5128, allocations: 330.5 kB / 437.9 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.5165, allocations: 1.521 MB / 439.4 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009074/0.5174, allocations: 0.879 MB / 440.3 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.5192, allocations: 1.037 MB / 441.3 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006847/0.5261, allocations: 3.995 MB / 445.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.039e-05/0.5261, allocations: 0.9062 kB / 445.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5261, allocations: 0 / 445.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.5262, allocations: 0.9375 kB / 445.3 MB, free: 3.938 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.005213/0.5315, allocations: 4.817 MB / 450.1 MB, free: 18.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.5315, allocations: 9 kB / 450.1 MB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.533, allocations: 1.489 MB / 451.6 MB, free: 18.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.5346, allocations: 1.33 MB / 452.9 MB, free: 17.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.5348, allocations: 432.1 kB / 453.4 MB, free: 17.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/0.5351, allocations: 341.2 kB / 453.7 MB, free: 17.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.5379, allocations: 3.328 MB / 457 MB, free: 17.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.538, allocations: 7.375 kB / 457 MB, free: 17.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.5381, allocations: 131.1 kB / 457.1 MB, free: 17.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002826/0.5384, allocations: 481.1 kB / 457.6 MB, free: 17.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.5416, allocations: 4.185 MB / 461.8 MB, free: 17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.5537, allocations: 10.73 MB / 472.5 MB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/0.5547, allocations: 0.8414 MB / 473.4 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.5552, allocations: 417.6 kB / 473.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00689/0.5621, allocations: 5.266 MB / 479 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.5621, allocations: 47.62 kB / 479.1 MB, free: 14.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.417e-06/0.5621, allocations: 0 / 479.1 MB, free: 14.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.03921/0.6014, allocations: 11.96 MB / 491.1 MB, free: 8.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005335/0.6067, allocations: 3.864 MB / 494.9 MB, free: 5.484 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.608, allocations: 1.336 MB / 496.3 MB, free: 4.637 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005226/0.6085, allocations: 58.95 kB / 496.3 MB, free: 4.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008748/0.6094, allocations: 1.582 MB / 497.9 MB, free: 3.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006247/0.61, allocations: 0.6764 MB / 498.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008274/0.6108, allocations: 0.5457 MB / 499.1 MB, free: 2.621 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.6109, allocations: 304.4 kB / 499.4 MB, free: 2.324 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.6123, allocations: 0.7916 MB / 0.4885 GB, free: 1.707 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.614, allocations: 1.544 MB / 0.49 GB, free: 100 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.6183, allocations: 3.533 MB / 0.4934 GB, free: 12.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.6184, allocations: 9.031 kB / 0.4934 GB, free: 12.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.00982/0.6282, allocations: 3.769 MB / 0.4971 GB, free: 9.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.6282, allocations: 16 kB / 0.4971 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.6282, allocations: 31.92 kB / 0.4972 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.6397, allocations: 3.718 MB / 0.5008 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/0.6432, allocations: 1.116 MB / 0.5019 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.6562, allocations: 10.4 MB / 0.512 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.6582, allocations: 99.97 kB / 0.5121 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004085/0.6587, allocations: 335.9 kB / 0.5125 GB, free: 10.31 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 (otherSubstances.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,liquidWater.substanceDefinitionVar.SelfClustering) * 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): 3 systems {(1,4,100.0%), (3,5,77.8%), (5,13,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001379/0.66, allocations: 268.3 kB / 0.5127 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/0.6606, allocations: 222.4 kB / 0.5129 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.671, allocations: 4.324 MB / 0.5172 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.671, allocations: 20 kB / 0.5172 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.6711, allocations: 4 kB / 0.5172 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.6711, allocations: 11.95 kB / 0.5172 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.685, allocations: 6.539 MB / 0.5236 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.6851, allocations: 4 kB / 0.5236 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/0.6879, allocations: 0.8057 MB / 0.5244 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.6883, allocations: 186.5 kB / 0.5245 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/0.7004, allocations: 3.774 MB / 0.5282 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004323/0.7008, allocations: 79.91 kB / 0.5283 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.7137, allocations: 10.25 MB / 0.5383 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004273/0.7179, allocations: 3.577 MB / 0.5418 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.7291, allocations: 4.089 MB / 0.5458 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006428/0.7297, allocations: 43.95 kB / 0.5458 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.7309, allocations: 63.97 kB / 0.5459 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/0.7315, allocations: 204.5 kB / 0.5461 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/0.7317, allocations: 171.9 kB / 0.5463 GB, free: 7.723 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006829/0.7324, allocations: 0.6958 MB / 0.5469 GB, free: 7.082 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7324, allocations: 0 / 0.5469 GB, free: 7.082 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003042/0.7354, allocations: 1.062 MB / 0.548 GB, free: 6.02 MB / 490.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.0007538/0.7362, allocations: 409.4 kB / 0.5484 GB, free: 5.684 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00505/0.7412, allocations: 3.076 MB / 0.5514 GB, free: 2.668 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.647e-05/0.7413, allocations: 34.47 kB / 0.5514 GB, free: 2.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003196/0.7445, allocations: 1.951 MB / 0.5533 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.7463, allocations: 0.7663 MB / 0.5541 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.7658, allocations: 6.672 MB / 0.5606 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.7666, allocations: 0.7308 MB / 0.5613 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002421/0.769, allocations: 0.7853 MB / 0.5621 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/0.7706, allocations: 0.616 MB / 0.5627 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of SimCode: time 2.014e-06/0.7706, allocations: 0 / 0.5627 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of Templates: time 0.2917/1.062, allocations: 93.33 MB / 0.6538 GB, free: 128.3 MB / 0.5417 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: 5.537302203476429]