Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006826/0.006826, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 195.7 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2404/0.2404, allocations: 15.32 MB / 305.9 MB, free: 15.32 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.06 kB / 370.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 53.61 MB / 423.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.009871/0.1263, allocations: 7.397 MB / 431.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2/0.3263, allocations: 14.54 MB / 445.9 MB, free: 41.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.3275, allocations: 27.41 kB / 445.9 MB, free: 41.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009574/0.3285, allocations: 306.8 kB / 446.2 MB, free: 41.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.3315, allocations: 0.9863 MB / 447.2 MB, free: 41.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.3367, allocations: 1.707 MB / 448.9 MB, free: 41.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.3389, allocations: 1.522 MB / 450.4 MB, free: 41.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.34, allocations: 0.843 MB / 451.2 MB, free: 40.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008557/0.3409, allocations: 0.7328 MB / 452 MB, free: 40.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007715/0.3416, allocations: 0.8153 MB / 452.8 MB, free: 40.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.3418, allocations: 100.4 kB / 452.9 MB, free: 40.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004818/0.3466, allocations: 1.423 MB / 454.3 MB, free: 40.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.3471, allocations: 300.4 kB / 454.6 MB, free: 40.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009085/0.348, allocations: 0.6998 MB / 455.3 MB, free: 40.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.3512, allocations: 2.295 MB / 457.6 MB, free: 39.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3512, allocations: 0 / 457.6 MB, free: 39.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3512, allocations: 3.094 kB / 457.6 MB, free: 39.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.3513, allocations: 4 kB / 457.6 MB, free: 39.89 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.002904/0.3542, allocations: 1.833 MB / 459.4 MB, free: 38.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3542, allocations: 14.09 kB / 459.4 MB, free: 38.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.3555, allocations: 317.9 kB / 459.8 MB, free: 38.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008696/0.3564, allocations: 0.6466 MB / 460.4 MB, free: 38.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.3565, allocations: 99.06 kB / 460.5 MB, free: 38.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.3567, allocations: 137.5 kB / 460.6 MB, free: 38.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.3588, allocations: 1.528 MB / 462.2 MB, free: 37.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.3589, allocations: 0.5625 kB / 462.2 MB, free: 37.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.359, allocations: 48.78 kB / 462.2 MB, free: 37.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.359, allocations: 34.88 kB / 462.2 MB, free: 37.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.3614, allocations: 1.858 MB / 464.1 MB, free: 36.91 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.3674, allocations: 4.63 MB / 468.7 MB, free: 34.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.3693, allocations: 1.349 MB / 470.1 MB, free: 33.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/0.3701, allocations: 0.5336 MB / 470.6 MB, free: 33.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005707/0.3758, allocations: 4.594 MB / 475.2 MB, free: 29.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3759, allocations: 38.78 kB / 475.2 MB, free: 29.9 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003802/0.3763, allocations: 87.92 kB / 475.3 MB, free: 29.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.726e-06/0.3763, allocations: 1.375 kB / 475.3 MB, free: 29.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.02098/0.3973, allocations: 4.281 MB / 479.6 MB, free: 28.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3973, allocations: 66.31 kB / 479.7 MB, free: 28.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008433/0.3982, allocations: 0.5825 MB / 480.3 MB, free: 27.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.3984, allocations: 40.23 kB / 480.3 MB, free: 27.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.3987, allocations: 0.5837 MB / 480.9 MB, free: 27.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.399, allocations: 348.9 kB / 481.2 MB, free: 27.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/0.3994, allocations: 232.9 kB / 481.5 MB, free: 26.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3996, allocations: 393 kB / 481.8 MB, free: 26.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.4004, allocations: 408.9 kB / 482.2 MB, free: 26.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009303/0.4013, allocations: 0.7772 MB / 483 MB, free: 25.82 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02746/0.4288, allocations: 4.454 MB / 487.5 MB, free: 24.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.4288, allocations: 8.031 kB / 487.5 MB, free: 24.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00622/0.4351, allocations: 1.753 MB / 489.2 MB, free: 23.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.4351, allocations: 15 kB / 489.2 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.4352, allocations: 13.12 kB / 489.3 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/0.4393, allocations: 468.7 kB / 489.7 MB, free: 23.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.4404, allocations: 288.4 kB / 490 MB, free: 23.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/0.4471, allocations: 4.085 MB / 494.1 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.4483, allocations: 78.14 kB / 494.2 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4484, allocations: 68.28 kB / 494.2 MB, free: 20.11 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006091/0.4491, allocations: 272.8 kB / 494.5 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.4493, allocations: 87.47 kB / 494.6 MB, free: 19.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007277/0.4565, allocations: 1.729 MB / 496.3 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.4566, allocations: 13.66 kB / 496.3 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.4566, allocations: 8.156 kB / 496.3 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/0.4567, allocations: 4.781 kB / 496.3 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008527/0.4652, allocations: 2.927 MB / 499.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.4652, allocations: 3.938 kB / 499.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.466, allocations: 196.4 kB / 499.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005189/0.4712, allocations: 0.5224 MB / 500 MB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/0.4714, allocations: 41.8 kB / 0.4883 GB, free: 17.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0067/0.4781, allocations: 5.253 MB / 0.4934 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4781, allocations: 7.125 kB / 0.4934 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006941/0.485, allocations: 2.285 MB / 0.4957 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.4854, allocations: 160 kB / 0.4958 GB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.4855, allocations: 20 kB / 0.4958 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/0.4861, allocations: 47.88 kB / 0.4959 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.4863, allocations: 96.95 kB / 0.496 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/0.4864, allocations: 43.98 kB / 0.496 GB, free: 10.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003861/0.4868, allocations: 387.1 kB / 0.4964 GB, free: 9.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4868, allocations: 0 / 0.4964 GB, free: 9.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001822/0.4887, allocations: 0.5895 MB / 0.497 GB, free: 9.059 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.4897, allocations: 0.6281 MB / 0.4976 GB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.4918, allocations: 1.415 MB / 0.499 GB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4918, allocations: 0 / 0.499 GB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.4929, allocations: 0.9939 MB / 0.4999 GB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.494, allocations: 203.3 kB / 0.5001 GB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.4973, allocations: 2.769 MB / 0.5028 GB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.4978, allocations: 1.077 MB / 0.5039 GB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.4982, allocations: 206.7 kB / 0.5041 GB, free: 1.695 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4982, allocations: 0 / 0.5041 GB, free: 1.695 MB / 366.1 MB Notification: Performance of Templates: time 0.03421/0.5324, allocations: 28.75 MB / 0.5322 GB, free: 4.996 MB / 398.1 MB make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile (rm -f Chemical_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Examples.WaterVaporization.sim & ./Chemical_Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)