Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.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.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",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.1549/0.1549, allocations: 15.26 MB / 30.21 MB, free: 3.301 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.001603/0.001603, allocations: 181.1 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.406/1.406, allocations: 223.2 MB / 263.4 MB, free: 6.488 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.0008926/0.0008925, allocations: 90.95 kB / 318.8 MB, free: 3.484 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 7.812 kB / 384 MB, free: 50.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09738, allocations: 54.64 MB / 438.7 MB, free: 336 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4618, allocations: 103.7 MB / 0.5297 GB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4621, allocations: 68.67 kB / 0.5298 GB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.365/0.827, allocations: 138.5 MB / 0.665 GB, free: 2.141 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.389e-05/0.8271, allocations: 0 / 0.665 GB, free: 2.141 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002569/0.8274, allocations: 71.92 kB / 0.665 GB, free: 2.07 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.01482/0.8422, allocations: 3.852 MB / 0.6688 GB, free: 14.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.8423, allocations: 12.03 kB / 0.6688 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001835/0.8442, allocations: 414.2 kB / 0.6692 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006744/0.8509, allocations: 1.019 MB / 0.6702 GB, free: 12.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/0.857, allocations: 1.745 MB / 0.6719 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.8574, allocations: 234.2 kB / 0.6721 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009829/0.8584, allocations: 319.9 kB / 0.6724 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.8735, allocations: 5.897 MB / 0.6782 GB, free: 4.387 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-05/0.8736, allocations: 3.938 kB / 0.6782 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/0.8741, allocations: 124 kB / 0.6783 GB, free: 4.262 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.8742, allocations: 72 kB / 0.6784 GB, free: 4.191 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2978/1.172, allocations: 8.937 MB / 0.6871 GB, free: 52.45 MB / 474.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.0287/1.201, allocations: 15.87 MB / 0.7026 GB, free: 49.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007683/1.209, allocations: 6.071 MB / 0.7085 GB, free: 48.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.21, allocations: 0.7344 MB / 0.7093 GB, free: 48.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.21, allocations: 69.22 kB / 0.7093 GB, free: 48.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 4.949e-06/1.21, allocations: 2.594 kB / 0.7093 GB, free: 48.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=404): time 0.06885/1.279, allocations: 20.68 MB / 0.7295 GB, free: 46.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/1.279, allocations: 147.1 kB / 0.7297 GB, free: 45.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004293/1.283, allocations: 3.021 MB / 0.7326 GB, free: 45.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.284, allocations: 91.17 kB / 0.7327 GB, free: 45.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00086/1.285, allocations: 1.234 MB / 0.7339 GB, free: 45.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.286, allocations: 1.348 MB / 0.7352 GB, free: 44.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/1.287, allocations: 87.09 kB / 0.7353 GB, free: 44.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/1.287, allocations: 463.4 kB / 0.7357 GB, free: 44.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00355/1.29, allocations: 2.835 MB / 0.7385 GB, free: 44.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/1.294, allocations: 3.403 MB / 0.7418 GB, free: 43.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/1.298, allocations: 3.083 MB / 0.7448 GB, free: 43.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.298, allocations: 3.812 kB / 0.7449 GB, free: 43.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.01858/1.317, allocations: 8.004 MB / 0.7527 GB, free: 39.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/1.317, allocations: 12.22 kB / 0.7527 GB, free: 39.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/1.317, allocations: 12.12 kB / 0.7527 GB, free: 39.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009933/1.327, allocations: 1.217 MB / 0.7539 GB, free: 39.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/1.331, allocations: 0.8958 MB / 0.7548 GB, free: 39.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/1.349, allocations: 12.93 MB / 0.7674 GB, free: 28.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/1.354, allocations: 168.3 kB / 0.7675 GB, free: 28.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.355, allocations: 178.8 kB / 0.7677 GB, free: 28.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (497): * Single equations (assignments): 488 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,1 3,1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.003219/1.359, allocations: 0.5592 MB / 0.7683 GB, free: 28.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/1.36, allocations: 283.4 kB / 0.7685 GB, free: 27.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.379, allocations: 6.915 MB / 0.7753 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.481e-05/1.38, allocations: 45.03 kB / 0.7753 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.136e-05/1.38, allocations: 3.719 kB / 0.7753 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001489/1.38, allocations: 22.94 kB / 0.7753 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03328/1.413, allocations: 16.07 MB / 0.791 GB, free: 18.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.897e-05/1.413, allocations: 13.84 kB / 0.791 GB, free: 18.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/1.417, allocations: 0.7068 MB / 0.7917 GB, free: 18.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009183/1.426, allocations: 1.214 MB / 0.7929 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008732/1.427, allocations: 119 kB / 0.793 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/1.443, allocations: 12.78 MB / 0.8055 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/1.443, allocations: 18.22 kB / 0.8055 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02306/1.466, allocations: 11.23 MB / 0.8165 GB, free: 332 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.467, allocations: 426.2 kB / 0.8169 GB, free: 32 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.468, allocations: 103.9 kB / 0.817 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003617/1.472, allocations: 157.6 kB / 0.8172 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009505/1.473, allocations: 328.6 kB / 0.8175 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006183/1.474, allocations: 145 kB / 0.8176 GB, free: 15.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003513/1.477, allocations: 2.382 MB / 0.8199 GB, free: 13.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.477, allocations: 0 / 0.8199 GB, free: 13.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01023/1.488, allocations: 2.334 MB / 0.8222 GB, free: 11.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 63 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (410): * Single equations (assignments): 401 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 3,1 6,1 3,1 6,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03682/1.524, allocations: 18.14 MB / 0.8399 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.537, allocations: 6.779 MB / 0.8466 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/1.537, allocations: 4 kB / 0.8466 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006499/1.543, allocations: 3.502 MB / 0.85 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/1.548, allocations: 0.5219 MB / 0.8505 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3102/1.858, allocations: 20.51 MB / 0.8705 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.86, allocations: 1.921 MB / 0.8724 GB, free: 89.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003134/1.863, allocations: 0.5498 MB / 0.8729 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/1.865, allocations: 1.413 MB / 0.8743 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.372e-06/1.865, allocations: 0 / 0.8743 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1854/2.051, allocations: 104.7 MB / 0.9766 GB, free: 71.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/2.051, allocations: 196.4 kB / 0.9768 GB, free: 70.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.065/8.116, allocations: 0 / 0.9768 GB, free: 70.79 MB / 0.5105 GB (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)