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.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000857/0.000857, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009844/0.0009844, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1838/0.1838, allocations: 15.26 MB / 306.3 MB, free: 15.76 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 8 kB / 371.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2708, allocations: 54.62 MB / 426.2 MB, free: 40.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.005227/0.276, allocations: 6.544 MB / 432.7 MB, free: 38.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.2869, allocations: 13.35 MB / 446.1 MB, free: 28.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009413/0.2879, allocations: 27.28 kB / 446.1 MB, free: 28.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009775/0.2889, allocations: 305.9 kB / 446.4 MB, free: 28.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.2916, allocations: 1.022 MB / 447.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.2954, allocations: 1.572 MB / 449 MB, free: 27.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.2972, allocations: 1.457 MB / 450.5 MB, free: 26.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.2982, allocations: 0.7611 MB / 451.2 MB, free: 26.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008614/0.2991, allocations: 0.6049 MB / 451.8 MB, free: 25.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000988/0.3001, allocations: 0.7351 MB / 452.6 MB, free: 25.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.3004, allocations: 80.22 kB / 452.6 MB, free: 25.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.304, allocations: 1.348 MB / 454 MB, free: 25.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.3043, allocations: 262.2 kB / 454.2 MB, free: 25.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.3047, allocations: 268.8 kB / 454.5 MB, free: 25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.3073, allocations: 2.312 MB / 456.8 MB, free: 24.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3073, allocations: 7.938 kB / 456.8 MB, free: 24.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3073, allocations: 3.938 kB / 456.8 MB, free: 24.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.387e-05/0.3074, allocations: 0 / 456.8 MB, free: 24.13 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.002771/0.3102, allocations: 1.559 MB / 458.4 MB, free: 23.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3102, allocations: 9.156 kB / 458.4 MB, free: 23.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002895/0.3105, allocations: 192 kB / 458.6 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.3117, allocations: 309.8 kB / 458.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.3126, allocations: 0.6259 MB / 459.5 MB, free: 22.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.3127, allocations: 94.19 kB / 459.6 MB, free: 22.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.3129, allocations: 139.5 kB / 459.7 MB, free: 22.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.3151, allocations: 1.518 MB / 461.3 MB, free: 21.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.3152, allocations: 0 / 461.3 MB, free: 21.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3153, allocations: 54.8 kB / 461.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.3153, allocations: 30.41 kB / 461.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/0.3181, allocations: 1.85 MB / 463.2 MB, free: 21.13 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.00671/0.3248, allocations: 4.615 MB / 467.8 MB, free: 18.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.3268, allocations: 1.341 MB / 469.1 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007942/0.3276, allocations: 0.5277 MB / 469.7 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005567/0.3332, allocations: 4.517 MB / 474.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.3333, allocations: 47.86 kB / 474.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003842/0.3337, allocations: 75.67 kB / 474.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.707e-06/0.3337, allocations: 0 / 474.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01847/0.3521, allocations: 4.34 MB / 478.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3522, allocations: 63.92 kB / 478.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.3531, allocations: 0.5768 MB / 479.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.094e-05/0.3532, allocations: 45.3 kB / 479.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.3535, allocations: 0.5764 MB / 479.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.3538, allocations: 348.2 kB / 480.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.3538, allocations: 22 kB / 480.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.354, allocations: 397 kB / 480.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/0.3547, allocations: 406.5 kB / 481.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008974/0.3556, allocations: 0.7697 MB / 481.8 MB, free: 10.02 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: liquid.temperature = liquid.temperature_start (gas.temperature_start = liquid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02252/0.3782, allocations: 3.377 MB / 485.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.3782, allocations: 3.094 kB / 485.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005329/0.3835, allocations: 1.76 MB / 487 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3836, allocations: 8 kB / 487 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.3836, allocations: 15.95 kB / 487 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/0.3869, allocations: 489.9 kB / 487.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/0.3877, allocations: 295.5 kB / 487.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.3933, allocations: 4.097 MB / 491.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3944, allocations: 87.86 kB / 491.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.3946, allocations: 67.98 kB / 492 MB, free: 2.824 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: liquid.temperature = liquid.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.3952, allocations: 273.4 kB / 492.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.3955, allocations: 86.92 kB / 492.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/0.4018, allocations: 1.75 MB / 494.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4018, allocations: 12 kB / 494.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4018, allocations: 4 kB / 494.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.4018, allocations: 3.984 kB / 494.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007911/0.4097, allocations: 2.941 MB / 497.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.4098, allocations: 4 kB / 497.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.4105, allocations: 200 kB / 497.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004522/0.415, allocations: 0.5448 MB / 497.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.4151, allocations: 35.98 kB / 497.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007228/0.4224, allocations: 5.27 MB / 0.4913 GB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4224, allocations: 3.938 kB / 0.4913 GB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006784/0.4292, allocations: 2.29 MB / 0.4936 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.4295, allocations: 160 kB / 0.4937 GB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.4297, allocations: 28 kB / 0.4938 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.4303, allocations: 43.83 kB / 0.4938 GB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.4305, allocations: 108.8 kB / 0.4939 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/0.4306, allocations: 43.98 kB / 0.4939 GB, free: 4.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004572/0.431, allocations: 383.1 kB / 0.4943 GB, free: 4.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4311, allocations: 0 / 0.4943 GB, free: 4.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001836/0.4329, allocations: 0.5895 MB / 0.4949 GB, free: 3.453 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008105/0.441, allocations: 3.354 MB / 0.4982 GB, free: 36 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.4435, allocations: 1.418 MB / 0.4995 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4435, allocations: 0 / 0.4995 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.4448, allocations: 0.994 MB / 0.5005 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.446, allocations: 188.4 kB / 0.5007 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.4593, allocations: 6.916 MB / 0.5074 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.46, allocations: 1.069 MB / 0.5085 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009735/0.461, allocations: 231.1 kB / 0.5087 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006845/0.4617, allocations: 0.4953 MB / 0.5092 GB, free: 4.277 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4617, allocations: 3.938 kB / 0.5092 GB, free: 4.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.5113, allocations: 29.83 MB / 0.5383 GB, free: 6.676 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.5115, allocations: 203.7 kB / 0.5385 GB, free: 6.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.024, allocations: 0 / 0.5385 GB, free: 6.43 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Examples_WaterVaporization.fmu > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1) Environment - environmentSimulation: