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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 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.001167/0.001167, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.151/1.151, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1579/0.1579, allocations: 15.32 MB / 305.7 MB, free: 15.3 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 59.91 kB / 370.4 MB, free: 3.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07852/0.07961, allocations: 53.61 MB / 424 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.006269/0.08591, allocations: 6.518 MB / 430.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1461/0.2321, allocations: 14.57 MB / 445.1 MB, free: 41.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.2327, allocations: 16.19 kB / 445.1 MB, free: 41.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007646/0.2335, allocations: 341.4 kB / 445.5 MB, free: 41.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.2357, allocations: 1.099 MB / 446.6 MB, free: 41.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.2389, allocations: 1.959 MB / 448.5 MB, free: 41.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.2401, allocations: 1.598 MB / 450.1 MB, free: 40.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008205/0.2409, allocations: 0.9692 MB / 451.1 MB, free: 40.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.2415, allocations: 0.763 MB / 451.9 MB, free: 40.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.2422, allocations: 0.8348 MB / 452.7 MB, free: 40.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.2423, allocations: 150.2 kB / 452.9 MB, free: 40.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.2451, allocations: 1.459 MB / 454.3 MB, free: 40.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.2453, allocations: 341 kB / 454.6 MB, free: 40.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.2457, allocations: 0.742 MB / 455.4 MB, free: 40.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.2484, allocations: 3.086 MB / 458.5 MB, free: 39.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2484, allocations: 7.219 kB / 458.5 MB, free: 39.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.2484, allocations: 0 / 458.5 MB, free: 39.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.2484, allocations: 0 / 458.5 MB, free: 39.11 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.002155/0.2506, allocations: 1.841 MB / 460.3 MB, free: 37.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.2506, allocations: 6.719 kB / 460.3 MB, free: 37.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.2507, allocations: 190.3 kB / 460.5 MB, free: 37.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2518, allocations: 323 kB / 460.8 MB, free: 37.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.2524, allocations: 0.6469 MB / 461.5 MB, free: 37.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.2525, allocations: 99.06 kB / 461.6 MB, free: 37.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.2526, allocations: 131.1 kB / 461.7 MB, free: 37.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.2542, allocations: 1.531 MB / 463.2 MB, free: 36.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.2542, allocations: 3.375 kB / 463.2 MB, free: 36.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.2543, allocations: 53.42 kB / 463.3 MB, free: 36.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.2544, allocations: 30.97 kB / 463.3 MB, free: 36.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.2563, allocations: 1.86 MB / 465.2 MB, free: 35.96 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.004734/0.261, allocations: 4.645 MB / 469.8 MB, free: 33.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.2626, allocations: 1.351 MB / 471.2 MB, free: 32.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.2632, allocations: 0.5353 MB / 471.7 MB, free: 32.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004383/0.2676, allocations: 4.581 MB / 476.3 MB, free: 29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.2676, allocations: 42.78 kB / 476.3 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002357/0.2679, allocations: 90.95 kB / 476.4 MB, free: 28.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.084e-06/0.2679, allocations: 0 / 476.4 MB, free: 28.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.0156/0.2835, allocations: 4.328 MB / 480.7 MB, free: 27.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.2835, allocations: 62.92 kB / 480.8 MB, free: 27.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.2841, allocations: 0.5824 MB / 481.4 MB, free: 26.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.2842, allocations: 42.08 kB / 481.4 MB, free: 26.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.2844, allocations: 0.5813 MB / 482 MB, free: 26.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.2846, allocations: 351.3 kB / 482.4 MB, free: 26.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.2849, allocations: 236 kB / 482.6 MB, free: 25.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.285, allocations: 393.1 kB / 483 MB, free: 25.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.2855, allocations: 416.3 kB / 483.4 MB, free: 25.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/0.2863, allocations: 0.7824 MB / 484.2 MB, free: 24.83 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.02182/0.3081, allocations: 4.548 MB / 488.7 MB, free: 23.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3081, allocations: 3.031 kB / 488.7 MB, free: 23.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004841/0.3129, allocations: 1.778 MB / 490.5 MB, free: 22.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.313, allocations: 11.66 kB / 490.5 MB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.313, allocations: 12.38 kB / 490.5 MB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003285/0.3163, allocations: 483.2 kB / 491 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/0.3171, allocations: 297.4 kB / 491.3 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005485/0.3226, allocations: 4.394 MB / 495.7 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/0.3233, allocations: 42.62 kB / 495.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/0.3234, allocations: 69.47 kB / 495.8 MB, free: 18.84 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.0003729/0.3237, allocations: 277.5 kB / 496.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.3239, allocations: 91.5 kB / 496.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00559/0.3295, allocations: 1.753 MB / 497.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3295, allocations: 11.59 kB / 497.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3295, allocations: 0 / 497.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3295, allocations: 16.52 kB / 497.9 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006213/0.3357, allocations: 2.951 MB / 0.4891 GB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3358, allocations: 6.406 kB / 0.4891 GB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.3363, allocations: 196.7 kB / 0.4893 GB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003912/0.3402, allocations: 0.5368 MB / 0.4899 GB, free: 16.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.3403, allocations: 41.2 kB / 0.4899 GB, free: 16.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005389/0.3457, allocations: 5.672 MB / 0.4954 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3457, allocations: 7.969 kB / 0.4954 GB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.3511, allocations: 2.316 MB / 0.4977 GB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3513, allocations: 160 kB / 0.4979 GB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.3514, allocations: 20 kB / 0.4979 GB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.3518, allocations: 28 kB / 0.4979 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.352, allocations: 108.7 kB / 0.498 GB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.3521, allocations: 43.98 kB / 0.498 GB, free: 7.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.3524, allocations: 391.1 kB / 0.4984 GB, free: 6.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3524, allocations: 0 / 0.4984 GB, free: 6.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00129/0.3537, allocations: 0.5895 MB / 0.499 GB, free: 6.371 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 (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.006231/0.3599, allocations: 3.384 MB / 0.5023 GB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.3621, allocations: 1.472 MB / 0.5037 GB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3621, allocations: 4 kB / 0.5037 GB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009135/0.363, allocations: 1.01 MB / 0.5047 GB, free: 452 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.3639, allocations: 213.6 kB / 0.5049 GB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.3795, allocations: 9.842 MB / 0.5145 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.38, allocations: 1.077 MB / 0.5156 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000798/0.3808, allocations: 231.7 kB / 0.5158 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005392/0.3814, allocations: 0.4974 MB / 0.5163 GB, free: 4.008 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3814, allocations: 0 / 0.5163 GB, free: 4.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05247/0.4339, allocations: 31.42 MB / 0.547 GB, free: 4.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11, allocations: 11.38 kB / 0.547 GB, free: 4.797 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)