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.00147/0.00147, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001275/0.001275, allocations: 173.7 kB / 23.27 MB, free: 1.223 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.011/1.011, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.0874/0.0874, allocations: 17.46 MB / 277.7 MB, free: 11.41 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.292e-06/1.292e-06, allocations: 0 / 354 MB, free: 9.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.717e-05, allocations: 10.19 kB / 354 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.009496/0.009513, allocations: 13.61 MB / 367.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2866/0.2961, allocations: 161.5 MB / 0.5167 GB, free: 9.293 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.2979, allocations: 91.25 kB / 0.5168 GB, free: 9.203 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.3004, allocations: 1.248 MB / 0.518 GB, free: 7.965 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.303, allocations: 1.683 MB / 0.5197 GB, free: 6.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.3064, allocations: 1.945 MB / 0.5216 GB, free: 4.316 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.3101, allocations: 4.17 MB / 0.5257 GB, free: 132 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008431/0.311, allocations: 0.7231 MB / 0.5264 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.3133, allocations: 2.12 MB / 0.5284 GB, free: 13.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.3146, allocations: 1.551 MB / 0.5299 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.3148, allocations: 332 kB / 0.5303 GB, free: 11.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.3172, allocations: 1.509 MB / 0.5317 GB, free: 9.836 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.3177, allocations: 1.047 MB / 0.5328 GB, free: 8.785 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008243/0.3185, allocations: 1.215 MB / 0.5339 GB, free: 7.566 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.3219, allocations: 4.278 MB / 0.5381 GB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3219, allocations: 0 / 0.5381 GB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3219, allocations: 4 kB / 0.5381 GB, free: 3.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.322, allocations: 0 / 0.5381 GB, free: 3.27 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.003736/0.3257, allocations: 4.431 MB / 0.5425 GB, free: 14.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3257, allocations: 8.031 kB / 0.5425 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.3272, allocations: 1.566 MB / 0.544 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.3288, allocations: 1.968 MB / 0.5459 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.329, allocations: 433.4 kB / 0.5463 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.3293, allocations: 340.3 kB / 0.5466 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/0.3322, allocations: 3.114 MB / 0.5497 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.3322, allocations: 4.188 kB / 0.5497 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.3324, allocations: 132.3 kB / 0.5498 GB, free: 7.129 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002964/0.3327, allocations: 479.7 kB / 0.5503 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.336, allocations: 4.388 MB / 0.5546 GB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2212/0.5572, allocations: 12.75 MB / 0.567 GB, free: 29.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.5585, allocations: 0.9282 MB / 0.5679 GB, free: 29.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.5591, allocations: 0.5133 MB / 0.5684 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008/0.5671, allocations: 6.298 MB / 0.5746 GB, free: 28.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.5671, allocations: 49.47 kB / 0.5746 GB, free: 28.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.587e-06/0.5671, allocations: 0.6875 kB / 0.5746 GB, free: 28.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.04101/0.6082, allocations: 12.85 MB / 0.5872 GB, free: 27.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005889/0.614, allocations: 5.153 MB / 0.5922 GB, free: 23.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.6158, allocations: 1.747 MB / 0.5939 GB, free: 23.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007424/0.6165, allocations: 56.02 kB / 0.594 GB, free: 23.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.6176, allocations: 2.013 MB / 0.5959 GB, free: 22.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007741/0.6184, allocations: 0.6762 MB / 0.5966 GB, free: 22.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.6194, allocations: 0.6852 MB / 0.5973 GB, free: 22.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.6195, allocations: 481.3 kB / 0.5977 GB, free: 21.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.6208, allocations: 0.9082 MB / 0.5986 GB, free: 21.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.6226, allocations: 2.004 MB / 0.6006 GB, free: 20.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/0.6275, allocations: 4.224 MB / 0.6047 GB, free: 18.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.6275, allocations: 8.078 kB / 0.6047 GB, free: 18.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01133/0.6388, allocations: 4.853 MB / 0.6094 GB, free: 17.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.6389, allocations: 16 kB / 0.6094 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.082e-05/0.6389, allocations: 27.94 kB / 0.6095 GB, free: 17.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/0.6511, allocations: 3.765 MB / 0.6132 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.6537, allocations: 0.8651 MB / 0.614 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.6673, allocations: 14.52 MB / 0.6282 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.6697, allocations: 109.1 kB / 0.6283 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/0.6708, allocations: 379.8 kB / 0.6286 GB, free: 15.18 MB / 442.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.001391/0.6722, allocations: 328.7 kB / 0.629 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/0.673, allocations: 305.6 kB / 0.6292 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.6851, allocations: 5.163 MB / 0.6343 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.6851, allocations: 20 kB / 0.6343 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.6851, allocations: 4 kB / 0.6343 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/0.6852, allocations: 9.172 kB / 0.6343 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/0.7039, allocations: 9.565 MB / 0.6437 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.7039, allocations: 7.938 kB / 0.6437 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/0.7065, allocations: 0.5883 MB / 0.6442 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01277/0.7192, allocations: 3.64 MB / 0.6478 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005699/0.7198, allocations: 115.9 kB / 0.6479 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/0.7345, allocations: 14 MB / 0.6616 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005445/0.7399, allocations: 4.767 MB / 0.6662 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/0.7523, allocations: 4.853 MB / 0.671 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/0.7529, allocations: 194.4 kB / 0.6712 GB, free: 3.312 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.7532, allocations: 36 kB / 0.6712 GB, free: 3.277 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.7544, allocations: 71.97 kB / 0.6713 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005749/0.7549, allocations: 232.1 kB / 0.6715 GB, free: 2.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/0.7552, allocations: 197.1 kB / 0.6717 GB, free: 2.789 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008578/0.756, allocations: 0.9318 MB / 0.6726 GB, free: 1.918 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.756, allocations: 0 / 0.6726 GB, free: 1.918 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003326/0.7594, allocations: 1.07 MB / 0.6736 GB, free: 0.8477 MB / 474.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.0007537/0.7601, allocations: 470.6 kB / 0.6741 GB, free: 472 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005835/0.766, allocations: 3.754 MB / 0.6777 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.766, allocations: 0 / 0.6777 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003314/0.7693, allocations: 2.402 MB / 0.6801 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.7711, allocations: 0.6057 MB / 0.6807 GB, free: 9.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.7838, allocations: 6.609 MB / 0.6871 GB, free: 3.121 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.785, allocations: 0.7234 MB / 0.6878 GB, free: 2.379 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003663/0.7886, allocations: 0.8166 MB / 0.6886 GB, free: 1.559 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002137/0.7908, allocations: 0.7242 MB / 0.6893 GB, free: 0.832 MB / 490.7 MB Notification: Performance of SimCode: time 2.044e-06/0.7908, allocations: 4 kB / 0.6893 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of Templates: time 0.3334/1.124, allocations: 95.54 MB / 0.7826 GB, free: 139 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: 6.065730412956327]