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.1113/0.1113, allocations: 15.26 MB / 30.21 MB, free: 3.297 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.0009728/0.0009727, allocations: 181.8 kB / 35.29 MB, free: 2.375 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.439/1.439, allocations: 223.2 MB / 263.4 MB, free: 6.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008869/0.0008871, allocations: 88.38 kB / 318.8 MB, free: 3.449 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003031, allocations: 8.344 kB / 384 MB, free: 50.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09515, allocations: 54.65 MB / 438.7 MB, free: 276 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.4633, allocations: 103.5 MB / 0.5295 GB, free: 15.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4635, allocations: 70.97 kB / 0.5295 GB, free: 15.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09574/0.5593, allocations: 43.23 MB / 0.5718 GB, free: 21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5593, allocations: 4 kB / 0.5718 GB, free: 21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.868e-05/0.5594, allocations: 27.25 kB / 0.5718 GB, free: 21 MB / 394.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.002709/0.5621, allocations: 1.559 MB / 0.5733 GB, free: 19.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5621, allocations: 7.812 kB / 0.5733 GB, free: 19.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.5623, allocations: 190.8 kB / 0.5735 GB, free: 19.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.5634, allocations: 349.6 kB / 0.5738 GB, free: 19.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5646, allocations: 0.7468 MB / 0.5746 GB, free: 19.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.5647, allocations: 94.5 kB / 0.5747 GB, free: 19.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.5649, allocations: 127 kB / 0.5748 GB, free: 19.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.5671, allocations: 1.982 MB / 0.5767 GB, free: 18.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.5672, allocations: 4 kB / 0.5767 GB, free: 18.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.5673, allocations: 53.81 kB / 0.5768 GB, free: 18.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5673, allocations: 31.09 kB / 0.5768 GB, free: 18.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.57, allocations: 2.668 MB / 0.5794 GB, free: 18.45 MB / 394.7 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.007256/0.5773, allocations: 5.701 MB / 0.585 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.5794, allocations: 1.979 MB / 0.5869 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004507/0.5799, allocations: 319.1 kB / 0.5872 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5799, allocations: 43.44 kB / 0.5872 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000465/0.5804, allocations: 94.14 kB / 0.5873 GB, free: 14.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 3.337e-06/0.5804, allocations: 0 / 0.5873 GB, free: 14.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.03682/0.6172, allocations: 7.729 MB / 0.5949 GB, free: 9.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.6174, allocations: 68.72 kB / 0.5949 GB, free: 9.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.6184, allocations: 0.5216 MB / 0.5955 GB, free: 8.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.6187, allocations: 49.7 kB / 0.5955 GB, free: 8.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.6191, allocations: 496 kB / 0.596 GB, free: 8.332 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005756/0.6197, allocations: 488.7 kB / 0.5964 GB, free: 7.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.6198, allocations: 32 kB / 0.5965 GB, free: 7.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.6201, allocations: 406.7 kB / 0.5969 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.6218, allocations: 0.859 MB / 0.5977 GB, free: 6.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.6237, allocations: 1.097 MB / 0.5988 GB, free: 5.371 MB / 394.7 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.04798/0.6717, allocations: 6.27 MB / 0.6049 GB, free: 15.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6717, allocations: 0 / 0.6049 GB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.009203/0.6809, allocations: 2.775 MB / 0.6076 GB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.681, allocations: 8.125 kB / 0.6076 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.681, allocations: 8 kB / 0.6076 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/0.6868, allocations: 0.7135 MB / 0.6083 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.6883, allocations: 303.6 kB / 0.6086 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.6987, allocations: 5.95 MB / 0.6144 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.7001, allocations: 75.88 kB / 0.6145 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/0.7003, allocations: 59.97 kB / 0.6145 GB, free: 4.844 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 156 * 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 1,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008697/0.7012, allocations: 281.5 kB / 0.6148 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.7015, allocations: 90.88 kB / 0.6149 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00972/0.7113, allocations: 2.803 MB / 0.6176 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.7113, allocations: 20 kB / 0.6177 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.7113, allocations: 4 kB / 0.6177 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-05/0.7114, allocations: 7.969 kB / 0.6177 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.7249, allocations: 5.074 MB / 0.6226 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/0.725, allocations: 7.953 kB / 0.6226 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.726, allocations: 248.1 kB / 0.6229 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006401/0.7325, allocations: 0.7221 MB / 0.6236 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002719/0.7328, allocations: 43.92 kB / 0.6236 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.7429, allocations: 6.704 MB / 0.6302 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.7429, allocations: 4 kB / 0.6302 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.7541, allocations: 4.176 MB / 0.6342 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.7545, allocations: 175.9 kB / 0.6344 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.7547, allocations: 32 kB / 0.6344 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/0.7557, allocations: 67.95 kB / 0.6345 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.7561, allocations: 125 kB / 0.6346 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.7562, allocations: 51.98 kB / 0.6347 GB, free: 15.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007103/0.7569, allocations: 406.8 kB / 0.6351 GB, free: 15 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7569, allocations: 0 / 0.6351 GB, free: 15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002256/0.7592, allocations: 0.687 MB / 0.6357 GB, free: 14.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (139): * Single equations (assignments): 134 * 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: 5 * 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: 4 {1 4,1 1,1 1,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01305/0.7723, allocations: 6.376 MB / 0.642 GB, free: 7.793 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003783/0.7761, allocations: 2.353 MB / 0.6443 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.7761, allocations: 0 / 0.6443 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.7782, allocations: 1.468 MB / 0.6457 GB, free: 3.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.7793, allocations: 190 kB / 0.6459 GB, free: 3.727 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008688/0.788, allocations: 8.091 MB / 0.6538 GB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/0.789, allocations: 1.131 MB / 0.6549 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008724/0.7899, allocations: 175.8 kB / 0.655 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.7906, allocations: 487.3 kB / 0.6555 GB, free: 9.531 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/0.7906, allocations: 0 / 0.6555 GB, free: 9.531 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3224/1.113, allocations: 36.68 MB / 0.6913 GB, free: 122.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.113, allocations: 191.9 kB / 0.6915 GB, free: 122.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.383/4.497, allocations: 0 / 0.6915 GB, free: 122.3 MB / 474.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)