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.001078/0.001078, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1848/0.1848, allocations: 15.27 MB / 307.4 MB, free: 15.66 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 8 kB / 372.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2689, allocations: 54.62 MB / 427.4 MB, free: 41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.005671/0.2747, allocations: 6.961 MB / 434.3 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.2872, allocations: 14.39 MB / 448.7 MB, free: 28.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009531/0.2882, allocations: 28.59 kB / 448.8 MB, free: 28.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007744/0.289, allocations: 298.1 kB / 449 MB, free: 27.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.2917, allocations: 0.9881 MB / 450 MB, free: 27.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004958/0.2966, allocations: 1.702 MB / 451.7 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.2985, allocations: 1.528 MB / 453.3 MB, free: 25.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009028/0.2995, allocations: 0.7823 MB / 454 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000792/0.3003, allocations: 0.6935 MB / 454.7 MB, free: 24.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008069/0.3011, allocations: 0.7659 MB / 455.5 MB, free: 24.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.3012, allocations: 78.22 kB / 455.6 MB, free: 24.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.3055, allocations: 1.403 MB / 457 MB, free: 24.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.3059, allocations: 265.1 kB / 457.2 MB, free: 24.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007045/0.3066, allocations: 0.6829 MB / 457.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.3093, allocations: 2.267 MB / 460.2 MB, free: 22.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3093, allocations: 0 / 460.2 MB, free: 22.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3093, allocations: 0 / 460.2 MB, free: 22.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.3093, allocations: 7.094 kB / 460.2 MB, free: 22.93 MB / 350.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.002585/0.3119, allocations: 1.554 MB / 461.8 MB, free: 21.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.312, allocations: 8.969 kB / 461.8 MB, free: 21.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.3132, allocations: 316 kB / 462.1 MB, free: 21.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008323/0.3141, allocations: 0.6383 MB / 462.7 MB, free: 21.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/0.3142, allocations: 97.12 kB / 462.8 MB, free: 21.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.3143, allocations: 137.3 kB / 462.9 MB, free: 21.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.3167, allocations: 1.526 MB / 464.5 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.3167, allocations: 0 / 464.5 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3168, allocations: 58.94 kB / 464.5 MB, free: 20.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.3169, allocations: 30.84 kB / 464.6 MB, free: 20.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.3198, allocations: 1.863 MB / 466.4 MB, free: 20.03 MB / 350.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.006869/0.3267, allocations: 4.62 MB / 471 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.3286, allocations: 1.35 MB / 472.4 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/0.3294, allocations: 0.5347 MB / 472.9 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005406/0.3348, allocations: 4.507 MB / 477.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3348, allocations: 43.95 kB / 477.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003159/0.3352, allocations: 79.89 kB / 477.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.955e-06/0.3352, allocations: 3.938 kB / 477.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.02014/0.3553, allocations: 4.357 MB / 481.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.3554, allocations: 67.09 kB / 482 MB, free: 11.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.3562, allocations: 0.5833 MB / 482.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.3564, allocations: 41.48 kB / 482.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.3568, allocations: 0.5765 MB / 483.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.3571, allocations: 348.6 kB / 483.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3572, allocations: 101.5 kB / 483.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3573, allocations: 392.5 kB / 484 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007524/0.3581, allocations: 419.3 kB / 484.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008557/0.359, allocations: 0.7713 MB / 485.2 MB, free: 8.859 MB / 350.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.02669/0.3857, allocations: 4.54 MB / 489.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.3857, allocations: 4 kB / 489.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005498/0.3912, allocations: 1.779 MB / 491.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3912, allocations: 12.25 kB / 491.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3913, allocations: 12 kB / 491.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003852/0.3951, allocations: 477.2 kB / 492 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009126/0.396, allocations: 295.5 kB / 492.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.4024, allocations: 4.12 MB / 496.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4035, allocations: 76.02 kB / 496.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.4036, allocations: 71.91 kB / 496.5 MB, free: 15.29 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 sytem: 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.000522/0.4041, allocations: 283.8 kB / 496.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.4043, allocations: 86.88 kB / 496.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007159/0.4115, allocations: 1.746 MB / 498.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.4115, allocations: 11.98 kB / 498.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4115, allocations: 7.938 kB / 498.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.4115, allocations: 3.984 kB / 498.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008307/0.4198, allocations: 2.949 MB / 0.4899 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4199, allocations: 4 kB / 0.4899 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.4205, allocations: 195.7 kB / 0.4901 GB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/0.4257, allocations: 0.5526 MB / 0.4906 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.565e-05/0.4258, allocations: 35.98 kB / 0.4906 GB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007788/0.4336, allocations: 5.268 MB / 0.4958 GB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.4336, allocations: 7.938 kB / 0.4958 GB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.4412, allocations: 2.306 MB / 0.498 GB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.4415, allocations: 156 kB / 0.4982 GB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4416, allocations: 27.98 kB / 0.4982 GB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/0.4422, allocations: 39.89 kB / 0.4983 GB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.4424, allocations: 104.7 kB / 0.4984 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.4425, allocations: 47.92 kB / 0.4984 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004658/0.443, allocations: 387.1 kB / 0.4988 GB, free: 496 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.443, allocations: 8 kB / 0.4988 GB, free: 488 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001858/0.4449, allocations: 0.5856 MB / 0.4993 GB, free: 15.89 MB / 382.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.001125/0.446, allocations: 0.627 MB / 0.5 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.4483, allocations: 1.414 MB / 0.5013 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4483, allocations: 0 / 0.5013 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.4497, allocations: 1.002 MB / 0.5023 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.4509, allocations: 196.4 kB / 0.5025 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.4546, allocations: 2.851 MB / 0.5053 GB, free: 9.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.4552, allocations: 1.065 MB / 0.5063 GB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.4557, allocations: 207.3 kB / 0.5065 GB, free: 8.363 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4557, allocations: 0 / 0.5065 GB, free: 8.363 MB / 382.1 MB Notification: Performance of Templates: time 0.03188/0.4876, allocations: 28.61 MB / 0.5345 GB, free: 11.77 MB / 414.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)