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.001506/0.001506, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.002163/0.002163, allocations: 173 kB / 23.49 MB, free: 1.059 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.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.09312/0.09312, allocations: 17.46 MB / 277.7 MB, free: 11.62 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.774e-06/1.774e-06, allocations: 3.938 kB / 353.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/3.9e-05, allocations: 5.547 kB / 353.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01146/0.0115, allocations: 13.81 MB / 367.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3243/0.3358, allocations: 163.7 MB / 0.5186 GB, free: 7.922 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003286/0.3391, allocations: 91.25 kB / 0.5187 GB, free: 7.832 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00372/0.3428, allocations: 1.251 MB / 0.5199 GB, free: 6.594 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.3482, allocations: 1.683 MB / 0.5216 GB, free: 4.898 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.3524, allocations: 1.952 MB / 0.5235 GB, free: 2.938 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006353/0.3588, allocations: 4.148 MB / 0.5275 GB, free: 14.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.36, allocations: 0.7231 MB / 0.5282 GB, free: 14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/0.3634, allocations: 2.117 MB / 0.5303 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.3655, allocations: 1.543 MB / 0.5318 GB, free: 10.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005458/0.3661, allocations: 332 kB / 0.5321 GB, free: 10 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.3694, allocations: 1.509 MB / 0.5336 GB, free: 8.492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007336/0.3702, allocations: 1.051 MB / 0.5346 GB, free: 7.438 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.3714, allocations: 1.215 MB / 0.5358 GB, free: 6.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.3774, allocations: 4.281 MB / 0.54 GB, free: 1.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3774, allocations: 0 / 0.54 GB, free: 1.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3774, allocations: 0 / 0.54 GB, free: 1.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.305e-05/0.3775, allocations: 4 kB / 0.54 GB, free: 1.918 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.00442/0.3819, allocations: 4.401 MB / 0.5443 GB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3819, allocations: 8.031 kB / 0.5443 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.3837, allocations: 1.561 MB / 0.5458 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.3857, allocations: 1.984 MB / 0.5478 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.386, allocations: 433.4 kB / 0.5482 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.3863, allocations: 336.3 kB / 0.5485 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.3904, allocations: 3.806 MB / 0.5522 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/0.3905, allocations: 4.188 kB / 0.5522 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.3906, allocations: 136.3 kB / 0.5524 GB, free: 5.109 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003244/0.3909, allocations: 487.6 kB / 0.5528 GB, free: 4.633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.163/0.5539, allocations: 5.538 MB / 0.5582 GB, free: 154.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01828/0.5722, allocations: 13.44 MB / 0.5714 GB, free: 148.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.5738, allocations: 1.052 MB / 0.5724 GB, free: 148.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009651/0.5748, allocations: 0.6127 MB / 0.573 GB, free: 147.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008255/0.5831, allocations: 6.369 MB / 0.5792 GB, free: 143.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5831, allocations: 58.03 kB / 0.5793 GB, free: 143.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 4.258e-06/0.5831, allocations: 0 / 0.5793 GB, free: 143.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.04792/0.631, allocations: 14.63 MB / 0.5935 GB, free: 129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006381/0.6374, allocations: 5.251 MB / 0.5987 GB, free: 123.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.6391, allocations: 1.81 MB / 0.6004 GB, free: 121.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006713/0.6398, allocations: 53.7 kB / 0.6005 GB, free: 121.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.6406, allocations: 2.007 MB / 0.6024 GB, free: 119.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006481/0.6412, allocations: 0.669 MB / 0.6031 GB, free: 119 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008845/0.6421, allocations: 0.6746 MB / 0.6038 GB, free: 118.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.6422, allocations: 476.8 kB / 0.6042 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.6436, allocations: 1.007 MB / 0.6052 GB, free: 116.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.6454, allocations: 2.1 MB / 0.6072 GB, free: 114.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/0.6507, allocations: 4.496 MB / 0.6116 GB, free: 109.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-05/0.6507, allocations: 8 kB / 0.6116 GB, free: 109.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01273/0.6634, allocations: 5.12 MB / 0.6166 GB, free: 104.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.6635, allocations: 16 kB / 0.6167 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/0.6635, allocations: 24 kB / 0.6167 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01249/0.676, allocations: 3.684 MB / 0.6203 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.6788, allocations: 0.8764 MB / 0.6211 GB, free: 99.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.6931, allocations: 13.08 MB / 0.6339 GB, free: 86.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.6954, allocations: 127.9 kB / 0.634 GB, free: 86.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004354/0.6959, allocations: 406.5 kB / 0.6344 GB, free: 85.62 MB / 426.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: 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 (254): * Single equations (assignments): 247 * 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.001348/0.6972, allocations: 316.4 kB / 0.6347 GB, free: 85.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/0.6979, allocations: 305.2 kB / 0.635 GB, free: 85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.7114, allocations: 5.631 MB / 0.6405 GB, free: 79.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.7114, allocations: 20 kB / 0.6405 GB, free: 79.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.7114, allocations: 4 kB / 0.6405 GB, free: 79.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/0.7115, allocations: 11.91 kB / 0.6405 GB, free: 79.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.73, allocations: 9.981 MB / 0.6503 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.73, allocations: 4 kB / 0.6503 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/0.7323, allocations: 0.5981 MB / 0.6509 GB, free: 68.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0133/0.7456, allocations: 3.775 MB / 0.6546 GB, free: 64.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005306/0.7462, allocations: 111.9 kB / 0.6547 GB, free: 64.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/0.7608, allocations: 14.36 MB / 0.6687 GB, free: 49.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005228/0.766, allocations: 4.877 MB / 0.6735 GB, free: 44.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.7798, allocations: 5.507 MB / 0.6788 GB, free: 39.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/0.7803, allocations: 194.5 kB / 0.679 GB, free: 38.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004205/0.7807, allocations: 47.94 kB / 0.6791 GB, free: 38.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.782, allocations: 94.56 kB / 0.6792 GB, free: 38.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006204/0.7826, allocations: 233.5 kB / 0.6794 GB, free: 38.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/0.7828, allocations: 203.9 kB / 0.6796 GB, free: 38.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009669/0.7838, allocations: 1.013 MB / 0.6806 GB, free: 37.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7838, allocations: 0 / 0.6806 GB, free: 37.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002977/0.7868, allocations: 1.054 MB / 0.6816 GB, free: 36.31 MB / 426.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.0008054/0.7876, allocations: 456.7 kB / 0.682 GB, free: 35.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006163/0.7938, allocations: 3.815 MB / 0.6858 GB, free: 32.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7938, allocations: 3.938 kB / 0.6858 GB, free: 32.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/0.7975, allocations: 2.59 MB / 0.6883 GB, free: 29.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.7994, allocations: 0.6054 MB / 0.6889 GB, free: 28.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009458/0.8089, allocations: 6.665 MB / 0.6954 GB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.8095, allocations: 0.7184 MB / 0.6961 GB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002546/0.812, allocations: 0.8769 MB / 0.697 GB, free: 20.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009224/0.813, allocations: 342.8 kB / 0.6973 GB, free: 20.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.525e-06/0.813, allocations: 0 / 0.6973 GB, free: 20.34 MB / 426.7 MB Notification: Performance of Templates: time 0.2241/1.037, allocations: 80.22 MB / 0.7756 GB, free: 98.32 MB / 426.7 MB " [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.062744559952989]