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.0006687/0.0006687, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008953/0.001564, allocations: 440 kB / 10.41 MB, free: 284 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.0007067/0.0007067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009163/0.001623, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9796/0.9796, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.09949/0.09949, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01271/0.1122, allocations: 6.974 MB / 268.6 MB, free: 6.289 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.483e-06/1.483e-06, allocations: 0 / 269.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.996e-05, allocations: 2.312 kB / 269.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.1633/0.1633, allocations: 13.77 MB / 283.6 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1719/0.3353, allocations: 140.5 MB / 424.1 MB, free: 7.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.339, allocations: 87.31 kB / 424.2 MB, free: 7.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003896/0.3429, allocations: 1.292 MB / 425.5 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.3483, allocations: 1.683 MB / 427.1 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005633/0.3539, allocations: 1.964 MB / 429.1 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2199/0.5738, allocations: 4.111 MB / 433.2 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.5754, allocations: 0.7589 MB / 434 MB, free: 4.367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.5803, allocations: 2.254 MB / 436.2 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/0.5842, allocations: 1.506 MB / 437.7 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.5854, allocations: 329.3 kB / 438.1 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005198/0.5906, allocations: 1.521 MB / 439.6 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.5919, allocations: 0.8766 MB / 440.5 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003067/0.595, allocations: 1.037 MB / 441.5 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00782/0.6028, allocations: 3.977 MB / 445.5 MB, free: 3.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.058e-05/0.6028, allocations: 0.9375 kB / 445.5 MB, free: 3.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6028, allocations: 1.969 kB / 445.5 MB, free: 3.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001709/0.603, allocations: 1.984 kB / 445.5 MB, free: 3.906 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.006542/0.6095, allocations: 4.815 MB / 450.3 MB, free: 18.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.6095, allocations: 12.09 kB / 450.3 MB, free: 18.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.6116, allocations: 1.484 MB / 451.8 MB, free: 18.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.6138, allocations: 1.335 MB / 453.1 MB, free: 17.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.6141, allocations: 430 kB / 453.5 MB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/0.6144, allocations: 345.8 kB / 453.9 MB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004101/0.6185, allocations: 3.331 MB / 457.2 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/0.6186, allocations: 192 / 457.2 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.6188, allocations: 132.1 kB / 457.3 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003716/0.6192, allocations: 460.8 kB / 457.8 MB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004345/0.6235, allocations: 4.191 MB / 462 MB, free: 16.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.637, allocations: 10.73 MB / 472.7 MB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/0.638, allocations: 0.8344 MB / 473.5 MB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.6385, allocations: 417.8 kB / 474 MB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007211/0.6457, allocations: 5.267 MB / 479.2 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.6457, allocations: 54.95 kB / 479.3 MB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.086e-06/0.6458, allocations: 1.031 kB / 479.3 MB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=168): time 0.03393/0.6797, allocations: 10.58 MB / 489.9 MB, free: 9.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00567/0.6854, allocations: 3.861 MB / 493.7 MB, free: 6.406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.6867, allocations: 1.341 MB / 495.1 MB, free: 5.555 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005324/0.6873, allocations: 58.14 kB / 495.1 MB, free: 5.516 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006944/0.688, allocations: 1.583 MB / 496.7 MB, free: 4.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005071/0.6885, allocations: 0.6036 MB / 497.3 MB, free: 3.859 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007298/0.6892, allocations: 0.4965 MB / 497.8 MB, free: 3.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.6893, allocations: 307.5 kB / 498.1 MB, free: 3.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.6903, allocations: 0.5881 MB / 498.7 MB, free: 2.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.6916, allocations: 1.336 MB / 0.4883 GB, free: 1.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.6954, allocations: 2.953 MB / 0.4912 GB, free: 14.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.6954, allocations: 8 kB / 0.4912 GB, free: 14.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=287) (initialization): time 0.009674/0.7051, allocations: 3.325 MB / 0.4944 GB, free: 12.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.7051, allocations: 16 kB / 0.4945 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.7052, allocations: 24.72 kB / 0.4945 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/0.7175, allocations: 3.782 MB / 0.4982 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.7202, allocations: 0.9853 MB / 0.4991 GB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.7348, allocations: 10.38 MB / 0.5093 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.7366, allocations: 91.98 kB / 0.5094 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004398/0.7371, allocations: 304.9 kB / 0.5096 GB, free: 13.16 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 (230): * Single equations (assignments): 223 * 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.001485/0.7386, allocations: 273.5 kB / 0.5099 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005885/0.7392, allocations: 207.7 kB / 0.5101 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00995/0.7491, allocations: 3.771 MB / 0.5138 GB, free: 8.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.7491, allocations: 16 kB / 0.5138 GB, free: 8.961 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.7491, allocations: 9.031 kB / 0.5138 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.7492, allocations: 7.969 kB / 0.5138 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.7635, allocations: 5.961 MB / 0.5196 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.7635, allocations: 8.25 kB / 0.5197 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.7655, allocations: 0.6922 MB / 0.5203 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.766, allocations: 186.5 kB / 0.5205 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/0.7791, allocations: 4.085 MB / 0.5245 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004651/0.7795, allocations: 71.88 kB / 0.5246 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.7931, allocations: 10.26 MB / 0.5346 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00501/0.7981, allocations: 3.575 MB / 0.5381 GB, free: 72 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009864/0.808, allocations: 3.478 MB / 0.5415 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004614/0.8085, allocations: 35.94 kB / 0.5415 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/0.8093, allocations: 59.81 kB / 0.5416 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000596/0.8099, allocations: 181.6 kB / 0.5417 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/0.8102, allocations: 163.9 kB / 0.5419 GB, free: 12.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.8112, allocations: 0.7113 MB / 0.5426 GB, free: 11.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8112, allocations: 0 / 0.5426 GB, free: 11.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00339/0.8146, allocations: 0.9723 MB / 0.5435 GB, free: 10.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (119): * Single equations (assignments): 112 * 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.001182/0.8158, allocations: 401.1 kB / 0.5439 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004687/0.8205, allocations: 2.665 MB / 0.5465 GB, free: 7.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.255e-05/0.8206, allocations: 40.88 kB / 0.5466 GB, free: 7.512 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003456/0.824, allocations: 1.947 MB / 0.5485 GB, free: 5.539 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/0.828, allocations: 3.477 MB / 0.5519 GB, free: 1.488 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.8483, allocations: 6.417 MB / 0.5581 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009087/0.8492, allocations: 0.7168 MB / 0.5588 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001993/0.8512, allocations: 0.7027 MB / 0.5595 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.8525, allocations: 0.577 MB / 0.5601 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of SimCode: time 2.825e-06/0.8525, allocations: 0 / 0.5601 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of Templates: time 0.2839/1.136, allocations: 81.39 MB / 0.6395 GB, free: 133.1 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.524929094128311]