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: "" <> 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.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001318/0.001318, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1872/0.1872, allocations: 15.32 MB / 305.3 MB, free: 15.27 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.89 kB / 369.8 MB, free: 4.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09945/0.1006, allocations: 53.6 MB / 423.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007672/0.1083, allocations: 7.401 MB / 430.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1934/0.3018, allocations: 14.55 MB / 445.3 MB, free: 41.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/0.3025, allocations: 25.34 kB / 445.3 MB, free: 41.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.3032, allocations: 306.3 kB / 445.6 MB, free: 41.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.3052, allocations: 0.9822 MB / 446.6 MB, free: 41.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.3085, allocations: 1.715 MB / 448.3 MB, free: 41.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.3096, allocations: 1.526 MB / 449.9 MB, free: 41.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/0.3103, allocations: 0.8359 MB / 450.7 MB, free: 40.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005178/0.3109, allocations: 0.7361 MB / 451.4 MB, free: 40.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.3115, allocations: 0.8131 MB / 452.2 MB, free: 40.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.3116, allocations: 99 kB / 452.3 MB, free: 40.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.3148, allocations: 1.425 MB / 453.8 MB, free: 40.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.315, allocations: 300 kB / 454.1 MB, free: 40.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004613/0.3155, allocations: 0.6986 MB / 454.8 MB, free: 40.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.3187, allocations: 2.923 MB / 457.7 MB, free: 39.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3188, allocations: 0 / 457.7 MB, free: 39.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.3188, allocations: 0 / 457.7 MB, free: 39.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.3188, allocations: 0 / 457.7 MB, free: 39.65 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.002449/0.3212, allocations: 1.835 MB / 459.5 MB, free: 38.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3213, allocations: 16.44 kB / 459.5 MB, free: 38.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.3214, allocations: 185.5 kB / 459.7 MB, free: 38.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.3226, allocations: 313.7 kB / 460 MB, free: 38.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.3233, allocations: 0.6546 MB / 460.7 MB, free: 37.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.3234, allocations: 92.84 kB / 460.8 MB, free: 37.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.3235, allocations: 136.1 kB / 460.9 MB, free: 37.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.3254, allocations: 1.532 MB / 462.4 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.3254, allocations: 0 / 462.4 MB, free: 37.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3255, allocations: 52.59 kB / 462.5 MB, free: 37.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.3255, allocations: 30.38 kB / 462.5 MB, free: 37.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.3277, allocations: 1.853 MB / 464.4 MB, free: 36.52 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.005236/0.3329, allocations: 4.637 MB / 469 MB, free: 33.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3347, allocations: 1.354 MB / 470.4 MB, free: 33.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.3353, allocations: 0.5369 MB / 470.9 MB, free: 32.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004901/0.3402, allocations: 4.595 MB / 475.5 MB, free: 29.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.3403, allocations: 42.73 kB / 475.5 MB, free: 29.5 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002785/0.3406, allocations: 79.73 kB / 475.6 MB, free: 29.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.405e-06/0.3406, allocations: 0 / 475.6 MB, free: 29.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01941/0.36, allocations: 4.28 MB / 479.9 MB, free: 27.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.3601, allocations: 73.75 kB / 480 MB, free: 27.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.3608, allocations: 0.5798 MB / 480.5 MB, free: 27.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.528e-05/0.3609, allocations: 41.08 kB / 480.6 MB, free: 27.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.3612, allocations: 0.5766 MB / 481.2 MB, free: 26.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.3615, allocations: 349.5 kB / 481.5 MB, free: 26.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.3618, allocations: 234.3 kB / 481.7 MB, free: 26.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3619, allocations: 394 kB / 482.1 MB, free: 26.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.3625, allocations: 416.1 kB / 482.5 MB, free: 26.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.3633, allocations: 0.7735 MB / 483.3 MB, free: 25.42 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.0255/0.3888, allocations: 4.454 MB / 487.7 MB, free: 23.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.3888, allocations: 2.906 kB / 487.7 MB, free: 23.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005637/0.3945, allocations: 1.754 MB / 489.5 MB, free: 23.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.3945, allocations: 13.31 kB / 489.5 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3946, allocations: 12.55 kB / 489.5 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/0.3984, allocations: 470 kB / 490 MB, free: 23.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/0.3993, allocations: 288.5 kB / 490.3 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.4055, allocations: 4.086 MB / 494.3 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/0.4065, allocations: 76.83 kB / 494.4 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.4066, allocations: 64.89 kB / 494.5 MB, free: 19.71 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.0004637/0.4071, allocations: 281.5 kB / 494.8 MB, free: 19.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4073, allocations: 85.97 kB / 494.8 MB, free: 19.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006665/0.4139, allocations: 1.733 MB / 496.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.414, allocations: 8.562 kB / 496.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.414, allocations: 3 kB / 496.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.414, allocations: 5.156 kB / 496.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/0.4217, allocations: 2.929 MB / 499.5 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.4217, allocations: 2.844 kB / 499.5 MB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.4224, allocations: 197.7 kB / 499.7 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004992/0.4274, allocations: 0.5293 MB / 0.4885 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.4275, allocations: 38.89 kB / 0.4886 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00636/0.4339, allocations: 5.259 MB / 0.4937 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4339, allocations: 7.938 kB / 0.4937 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007019/0.441, allocations: 2.271 MB / 0.4959 GB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.4414, allocations: 160 kB / 0.4961 GB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.4416, allocations: 23.75 kB / 0.4961 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.4422, allocations: 43.89 kB / 0.4961 GB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.4424, allocations: 104.7 kB / 0.4962 GB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/0.4425, allocations: 43.98 kB / 0.4963 GB, free: 9.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004484/0.443, allocations: 391.1 kB / 0.4967 GB, free: 8.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.443, allocations: 0 / 0.4967 GB, free: 8.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001861/0.4449, allocations: 0.5895 MB / 0.4972 GB, free: 8.266 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.007896/0.4528, allocations: 3.344 MB / 0.5005 GB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.4548, allocations: 1.419 MB / 0.5019 GB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4548, allocations: 0 / 0.5019 GB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4559, allocations: 0.9901 MB / 0.5028 GB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.457, allocations: 201.3 kB / 0.503 GB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.4751, allocations: 10.29 MB / 0.5131 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.4758, allocations: 1.073 MB / 0.5141 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009299/0.4767, allocations: 239.7 kB / 0.5144 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/0.4774, allocations: 0.4946 MB / 0.5148 GB, free: 5.566 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4774, allocations: 0 / 0.5148 GB, free: 5.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04474/0.5221, allocations: 30.27 MB / 0.5444 GB, free: 7.535 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.5223, allocations: 205.5 kB / 0.5446 GB, free: 7.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.017, allocations: 0 / 0.5446 GB, free: 7.285 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/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)