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.0009218/0.0009218, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009217/0.0009219, allocations: 177.3 kB / 15.94 MB, free: 228 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.28/1.28, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2053/0.2053, allocations: 15.25 MB / 306.2 MB, free: 15.8 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 11.98 kB / 371.5 MB, free: 3.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2776, allocations: 54.62 MB / 426.1 MB, free: 40.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.00573/0.2833, allocations: 5.913 MB / 432 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.2954, allocations: 12.43 MB / 444.4 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009969/0.2964, allocations: 24.41 kB / 444.4 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008012/0.2972, allocations: 317.9 kB / 444.8 MB, free: 30.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.3001, allocations: 1.169 MB / 445.9 MB, free: 29.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00485/0.3049, allocations: 1.737 MB / 447.7 MB, free: 28.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.3072, allocations: 1.073 MB / 448.7 MB, free: 27.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009554/0.3082, allocations: 0.7528 MB / 449.5 MB, free: 27.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.3089, allocations: 0.5712 MB / 450.1 MB, free: 27.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000745/0.3097, allocations: 0.7177 MB / 450.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3098, allocations: 76.34 kB / 450.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004937/0.3147, allocations: 1.617 MB / 452.5 MB, free: 26.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.3149, allocations: 259 kB / 452.7 MB, free: 26.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.3152, allocations: 267.3 kB / 453 MB, free: 26.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.3179, allocations: 1.897 MB / 454.9 MB, free: 25.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3179, allocations: 0 / 454.9 MB, free: 25.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3179, allocations: 3.062 kB / 454.9 MB, free: 25.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.3179, allocations: 0 / 454.9 MB, free: 25.69 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.002349/0.3203, allocations: 1.569 MB / 456.4 MB, free: 24.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3203, allocations: 12.94 kB / 456.5 MB, free: 24.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.3205, allocations: 188.3 kB / 456.6 MB, free: 24.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.3216, allocations: 316.3 kB / 457 MB, free: 24.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007163/0.3223, allocations: 0.6009 MB / 457.6 MB, free: 24.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.3224, allocations: 99.94 kB / 457.7 MB, free: 23.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.3226, allocations: 133.6 kB / 457.8 MB, free: 23.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.3245, allocations: 1.501 MB / 459.3 MB, free: 23.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3246, allocations: 3.938 kB / 459.3 MB, free: 23.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.3247, allocations: 58.97 kB / 459.3 MB, free: 23.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.3247, allocations: 30.56 kB / 459.4 MB, free: 23.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.3274, allocations: 1.855 MB / 461.2 MB, free: 22.68 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.006373/0.3338, allocations: 4.58 MB / 465.8 MB, free: 19.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.3356, allocations: 1.345 MB / 467.2 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005173/0.3408, allocations: 4.464 MB / 471.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3408, allocations: 45.75 kB / 471.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002696/0.3411, allocations: 76.5 kB / 471.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.3411, allocations: 0 / 471.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.01781/0.3589, allocations: 4.38 MB / 476.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.359, allocations: 69.88 kB / 476.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/0.3598, allocations: 0.5734 MB / 476.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.025e-05/0.3599, allocations: 42.08 kB / 476.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.3603, allocations: 0.5762 MB / 477.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.3605, allocations: 349.8 kB / 477.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.3606, allocations: 25.09 kB / 477.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3607, allocations: 393 kB / 478.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/0.3614, allocations: 410.7 kB / 478.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008427/0.3622, allocations: 0.7744 MB / 479.3 MB, free: 11.76 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.02386/0.3861, allocations: 3.381 MB / 482.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.3861, allocations: 3.625 kB / 482.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.005771/0.3919, allocations: 1.763 MB / 484.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.392, allocations: 9.375 kB / 484.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.392, allocations: 20.14 kB / 484.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/0.3956, allocations: 494.2 kB / 485 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/0.3966, allocations: 304.8 kB / 485.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/0.4027, allocations: 4.352 MB / 489.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.4038, allocations: 83.92 kB / 489.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4039, allocations: 67.98 kB / 489.8 MB, free: 5.012 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%) 13} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000512/0.4044, allocations: 281.6 kB / 490 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4046, allocations: 82.97 kB / 490.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005985/0.4105, allocations: 1.758 MB / 491.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4106, allocations: 12 kB / 491.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4106, allocations: 0 / 491.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.4106, allocations: 7.938 kB / 491.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/0.4183, allocations: 3.091 MB / 495 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.4184, allocations: 4 kB / 495 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/0.4191, allocations: 195.7 kB / 495.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00456/0.4237, allocations: 0.5601 MB / 495.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.4238, allocations: 35.98 kB / 495.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008091/0.4319, allocations: 5.351 MB / 0.4894 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-05/0.432, allocations: 7.938 kB / 0.4894 GB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007296/0.4393, allocations: 2.412 MB / 0.4917 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.4398, allocations: 164 kB / 0.4919 GB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.44, allocations: 24 kB / 0.4919 GB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.4405, allocations: 43.83 kB / 0.492 GB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.4408, allocations: 104.8 kB / 0.4921 GB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.4409, allocations: 43.98 kB / 0.4921 GB, free: 6.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.4414, allocations: 383.1 kB / 0.4925 GB, free: 5.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4414, allocations: 0 / 0.4925 GB, free: 5.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001956/0.4434, allocations: 0.5895 MB / 0.493 GB, free: 5.195 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 (100): * Single equations (assignments): 97 * 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.008667/0.4521, allocations: 4.162 MB / 0.4971 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.4547, allocations: 1.434 MB / 0.4985 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4547, allocations: 4 kB / 0.4985 GB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.4561, allocations: 0.9902 MB / 0.4995 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4572, allocations: 183 kB / 0.4997 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008216/0.4654, allocations: 11.73 MB / 0.5111 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.4662, allocations: 1.094 MB / 0.5122 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.4672, allocations: 235.2 kB / 0.5124 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/0.4679, allocations: 0.4992 MB / 0.5129 GB, free: 332 kB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4679, allocations: 3.938 kB / 0.5129 GB, free: 328 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/0.5193, allocations: 29.64 MB / 0.5418 GB, free: 2.922 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.5195, allocations: 188.7 kB / 0.542 GB, free: 2.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.078, allocations: 0 / 0.542 GB, free: 2.684 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: