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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.1175/0.1175, allocations: 15.25 MB / 27.81 MB, free: 5.41 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001217, allocations: 180.5 kB / 32.69 MB, free: 0.5312 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.4 MB / 258.8 MB, free: 68 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008573/0.0008575, allocations: 104.6 kB / 314 MB, free: 15.77 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.341e-05, allocations: 4 kB / 376.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3039, allocations: 54.61 MB / 431.2 MB, free: 50.11 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4364, allocations: 103.5 MB / 0.5221 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4367, allocations: 75.28 kB / 0.5222 GB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1059/0.5425, allocations: 43.08 MB / 0.5643 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5426, allocations: 0 / 0.5643 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.172e-05/0.5426, allocations: 24 kB / 0.5643 GB, free: 0.707 MB / 426.7 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.002921/0.5456, allocations: 1.484 MB / 0.5657 GB, free: 15.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5456, allocations: 16.03 kB / 0.5658 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/0.5458, allocations: 194.1 kB / 0.5659 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.547, allocations: 349.6 kB / 0.5663 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.5483, allocations: 0.7409 MB / 0.567 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.5484, allocations: 102.5 kB / 0.5671 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.5486, allocations: 132 kB / 0.5672 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.5513, allocations: 1.94 MB / 0.5691 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5513, allocations: 0 / 0.5691 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.5515, allocations: 52 kB / 0.5692 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.5515, allocations: 32 kB / 0.5692 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.5546, allocations: 2.63 MB / 0.5718 GB, free: 8.906 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007848/0.5625, allocations: 5.697 MB / 0.5773 GB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.5648, allocations: 1.957 MB / 0.5792 GB, free: 1.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009365/0.5658, allocations: 0.8173 MB / 0.58 GB, free: 204 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.264/0.8298, allocations: 313.1 kB / 0.5803 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.8298, allocations: 44.47 kB / 0.5804 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007298/0.8306, allocations: 84.19 kB / 0.5805 GB, free: 102.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 3.507e-06/0.8306, allocations: 0 / 0.5805 GB, free: 102.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.02619/0.8568, allocations: 7.192 MB / 0.5875 GB, free: 101.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006826/0.8637, allocations: 3.974 MB / 0.5914 GB, free: 99.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009414/0.8646, allocations: 0.5124 MB / 0.5919 GB, free: 98.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.8648, allocations: 51.3 kB / 0.5919 GB, free: 98.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.8652, allocations: 494.9 kB / 0.5924 GB, free: 98.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.8656, allocations: 0.5003 MB / 0.5929 GB, free: 98.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.8657, allocations: 33.03 kB / 0.5929 GB, free: 98.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.8659, allocations: 401.4 kB / 0.5933 GB, free: 98.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.8673, allocations: 0.885 MB / 0.5941 GB, free: 98.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.8689, allocations: 1.12 MB / 0.5952 GB, free: 97.89 MB / 442.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03413/0.9031, allocations: 5.409 MB / 0.6005 GB, free: 97.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.682e-05/0.9031, allocations: 1.438 kB / 0.6005 GB, free: 97.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01073/0.9139, allocations: 2.806 MB / 0.6033 GB, free: 97.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.914, allocations: 9.531 kB / 0.6033 GB, free: 97.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.914, allocations: 10.89 kB / 0.6033 GB, free: 97.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004476/0.9185, allocations: 0.6995 MB / 0.604 GB, free: 97.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.92, allocations: 304.8 kB / 0.6043 GB, free: 97.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009748/0.9298, allocations: 5.789 MB / 0.6099 GB, free: 94.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.9314, allocations: 94.39 kB / 0.61 GB, free: 94.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/0.9317, allocations: 68.78 kB / 0.6101 GB, free: 94.02 MB / 442.7 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: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 158 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * 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: 3 {1 1,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005098/0.9323, allocations: 186.5 kB / 0.6102 GB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000396/0.9327, allocations: 95.53 kB / 0.6103 GB, free: 93.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008844/0.9415, allocations: 2.906 MB / 0.6132 GB, free: 93.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007403/0.9489, allocations: 2.56 MB / 0.6157 GB, free: 92.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.949, allocations: 0 / 0.6157 GB, free: 92.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.949, allocations: 12.06 kB / 0.6157 GB, free: 92.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.9609, allocations: 5.444 MB / 0.621 GB, free: 90.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.9609, allocations: 8 kB / 0.621 GB, free: 90.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/0.9619, allocations: 252.6 kB / 0.6212 GB, free: 90.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00576/0.9676, allocations: 0.794 MB / 0.622 GB, free: 89.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.9678, allocations: 47.14 kB / 0.6221 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007942/0.9757, allocations: 5.886 MB / 0.6278 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004223/0.98, allocations: 2.09 MB / 0.6299 GB, free: 83.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009483/0.9895, allocations: 4.314 MB / 0.6341 GB, free: 81.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.9899, allocations: 171.2 kB / 0.6342 GB, free: 81.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.9901, allocations: 40.86 kB / 0.6343 GB, free: 81.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/0.9911, allocations: 76.7 kB / 0.6343 GB, free: 81.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.9914, allocations: 123.1 kB / 0.6345 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.9915, allocations: 50.7 kB / 0.6345 GB, free: 81.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004968/0.992, allocations: 413.3 kB / 0.6349 GB, free: 81.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.992, allocations: 0 / 0.6349 GB, free: 81.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002357/0.9944, allocations: 0.7325 MB / 0.6356 GB, free: 81.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],H2O_gaseuous.logn,otherSubstances.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 136 * 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: 4 * 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: 3 {1 4,1 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01133/1.006, allocations: 6.504 MB / 0.642 GB, free: 77.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003563/1.009, allocations: 2.401 MB / 0.6443 GB, free: 76.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.009, allocations: 0 / 0.6443 GB, free: 76.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/1.011, allocations: 1.435 MB / 0.6457 GB, free: 75.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/1.013, allocations: 193.5 kB / 0.6459 GB, free: 75.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/1.018, allocations: 2.595 MB / 0.6484 GB, free: 74.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/1.019, allocations: 1.147 MB / 0.6496 GB, free: 73.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008906/1.019, allocations: 194.4 kB / 0.6497 GB, free: 73.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/1.02, allocations: 492.6 kB / 0.6502 GB, free: 73.03 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/1.02, allocations: 0 / 0.6502 GB, free: 73.03 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06344/1.084, allocations: 37.26 MB / 0.6866 GB, free: 41.97 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/1.084, allocations: 155.4 kB / 0.6867 GB, free: 41.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/4.469, allocations: 3.938 kB / 0.6867 GB, free: 41.74 MB / 442.7 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)