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.001016/0.001016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001072/0.001072, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.258/1.258, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1875/0.1875, allocations: 15.33 MB / 305.4 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.001092/0.001092, allocations: 59.91 kB / 369.9 MB, free: 4.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09844, allocations: 53.61 MB / 423.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007144/0.1056, allocations: 7.389 MB / 430.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2005/0.3061, allocations: 14.42 MB / 445.4 MB, free: 41.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.3072, allocations: 29.41 kB / 445.4 MB, free: 41.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008733/0.3081, allocations: 309.7 kB / 445.7 MB, free: 41.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.3109, allocations: 0.9992 MB / 446.7 MB, free: 41.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.3153, allocations: 1.748 MB / 448.4 MB, free: 41.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.317, allocations: 1.6 MB / 450 MB, free: 41.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008955/0.3179, allocations: 0.9723 MB / 451 MB, free: 40.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007439/0.3186, allocations: 0.7952 MB / 451.8 MB, free: 40.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007412/0.3194, allocations: 0.8458 MB / 452.7 MB, free: 40.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.3195, allocations: 149.5 kB / 452.8 MB, free: 40.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.3232, allocations: 1.5 MB / 454.3 MB, free: 40.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.3234, allocations: 345.8 kB / 454.6 MB, free: 40.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.324, allocations: 0.7547 MB / 455.4 MB, free: 40.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.3283, allocations: 2.98 MB / 458.4 MB, free: 39.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3283, allocations: 0 / 458.4 MB, free: 39.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3283, allocations: 0 / 458.4 MB, free: 39.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.3283, allocations: 3.469 kB / 458.4 MB, free: 39.28 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.00259/0.3309, allocations: 1.844 MB / 460.2 MB, free: 38.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.331, allocations: 9.594 kB / 460.2 MB, free: 38.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.3311, allocations: 186.4 kB / 460.4 MB, free: 38.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.3323, allocations: 316.2 kB / 460.7 MB, free: 37.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.333, allocations: 0.6467 MB / 461.4 MB, free: 37.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.3331, allocations: 99.03 kB / 461.5 MB, free: 37.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3332, allocations: 132.2 kB / 461.6 MB, free: 37.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.3351, allocations: 1.524 MB / 463.1 MB, free: 36.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.3351, allocations: 8.062 kB / 463.1 MB, free: 36.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3352, allocations: 56.75 kB / 463.2 MB, free: 36.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.3353, allocations: 31 kB / 463.2 MB, free: 36.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.3374, allocations: 1.847 MB / 465.1 MB, free: 36.14 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.005441/0.3429, allocations: 4.64 MB / 469.7 MB, free: 33.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3446, allocations: 1.356 MB / 471 MB, free: 32.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.3452, allocations: 0.5272 MB / 471.6 MB, free: 32.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00494/0.3502, allocations: 4.594 MB / 476.2 MB, free: 29.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3502, allocations: 47.05 kB / 476.2 MB, free: 29.11 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003726/0.3506, allocations: 86.88 kB / 476.3 MB, free: 29.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.3506, allocations: 2.719 kB / 476.3 MB, free: 29.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01939/0.37, allocations: 4.323 MB / 480.6 MB, free: 27.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3701, allocations: 62.56 kB / 480.7 MB, free: 27.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007988/0.3709, allocations: 0.583 MB / 481.3 MB, free: 27.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.371, allocations: 45.92 kB / 481.3 MB, free: 26.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.3713, allocations: 0.5791 MB / 481.9 MB, free: 26.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.3716, allocations: 348.5 kB / 482.2 MB, free: 26.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.3719, allocations: 235.9 kB / 482.5 MB, free: 26.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.372, allocations: 394.9 kB / 482.9 MB, free: 25.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.3726, allocations: 419.8 kB / 483.3 MB, free: 25.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/0.3734, allocations: 0.7726 MB / 484 MB, free: 25.01 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.02472/0.3981, allocations: 4.551 MB / 488.6 MB, free: 23.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3982, allocations: 3.625 kB / 488.6 MB, free: 23.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005548/0.4037, allocations: 1.781 MB / 490.4 MB, free: 22.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.4038, allocations: 9.844 kB / 490.4 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.4038, allocations: 12.16 kB / 490.4 MB, free: 22.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/0.4075, allocations: 494.2 kB / 490.9 MB, free: 22.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.4084, allocations: 289.6 kB / 491.2 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.4149, allocations: 4.396 MB / 495.6 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.416, allocations: 77.69 kB / 495.6 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.4162, allocations: 68.7 kB / 495.7 MB, free: 19.01 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.0005019/0.4167, allocations: 284.4 kB / 496 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4169, allocations: 88.91 kB / 496.1 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006733/0.4236, allocations: 1.743 MB / 497.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4236, allocations: 9.938 kB / 497.8 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.4236, allocations: 7.766 kB / 497.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4237, allocations: 8.578 kB / 497.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007886/0.4315, allocations: 2.964 MB / 0.4891 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.4316, allocations: 1.781 kB / 0.4891 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.4323, allocations: 197 kB / 0.4892 GB, free: 16.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004491/0.4368, allocations: 0.5455 MB / 0.4898 GB, free: 16.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.4369, allocations: 34.95 kB / 0.4898 GB, free: 16.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/0.4433, allocations: 5.68 MB / 0.4954 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4433, allocations: 0 / 0.4954 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006526/0.4498, allocations: 2.312 MB / 0.4976 GB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.4501, allocations: 160 kB / 0.4978 GB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.4502, allocations: 28 kB / 0.4978 GB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.4508, allocations: 43.91 kB / 0.4978 GB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.451, allocations: 104.8 kB / 0.4979 GB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/0.4511, allocations: 47.11 kB / 0.498 GB, free: 7.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000353/0.4514, allocations: 395.1 kB / 0.4984 GB, free: 7.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4515, allocations: 0 / 0.4984 GB, free: 7.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001557/0.453, allocations: 0.5934 MB / 0.4989 GB, free: 6.535 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.007559/0.4606, allocations: 3.377 MB / 0.5022 GB, free: 3.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.4631, allocations: 1.481 MB / 0.5037 GB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4632, allocations: 0 / 0.5037 GB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.4642, allocations: 1.014 MB / 0.5047 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.4652, allocations: 198.3 kB / 0.5049 GB, free: 436 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/0.4834, allocations: 10.37 MB / 0.515 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.484, allocations: 1.073 MB / 0.516 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000926/0.4849, allocations: 232.4 kB / 0.5163 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006029/0.4855, allocations: 0.5007 MB / 0.5168 GB, free: 3.648 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4856, allocations: 0 / 0.5168 GB, free: 3.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05354/0.5391, allocations: 31.31 MB / 0.5473 GB, free: 4.598 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.5393, allocations: 213.9 kB / 0.5475 GB, free: 4.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.197, allocations: 0 / 0.5475 GB, free: 4.34 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)