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/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.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-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: translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 100 kB / 15.05 MB, free: 1.105 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.000927/0.000927, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2084/0.2084, allocations: 15.26 MB / 306.2 MB, free: 15.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003539, allocations: 8 kB / 371.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3095, allocations: 54.62 MB / 426 MB, free: 39.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01072/0.3203, allocations: 13.79 MB / 439.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03705/0.3574, allocations: 41.43 MB / 481.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003642/0.3611, allocations: 73.59 kB / 481.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004567/0.3657, allocations: 1.031 MB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.378, allocations: 3.54 MB / 485.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01746/0.3955, allocations: 6.22 MB / 492.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006258/0.4018, allocations: 2.981 MB / 495 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.4047, allocations: 1.815 MB / 496.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/0.4079, allocations: 1.534 MB / 498.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.412, allocations: 2.016 MB / 0.4887 GB, free: 9.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007805/0.4128, allocations: 199.8 kB / 0.4889 GB, free: 9.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02225/0.435, allocations: 6.071 MB / 0.4948 GB, free: 5.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.437, allocations: 0.6735 MB / 0.4954 GB, free: 4.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.4387, allocations: 0.6445 MB / 0.4961 GB, free: 4.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.4535, allocations: 5.879 MB / 0.5018 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4536, allocations: 0 / 0.5018 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4536, allocations: 0 / 0.5018 GB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001953/0.4538, allocations: 0 / 0.5018 GB, free: 14.14 MB / 382.1 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.008459/0.4622, allocations: 3.896 MB / 0.5056 GB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4623, allocations: 12.03 kB / 0.5056 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/0.4666, allocations: 0.925 MB / 0.5065 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.4695, allocations: 1.395 MB / 0.5079 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.4698, allocations: 238.2 kB / 0.5081 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000891/0.4707, allocations: 315.8 kB / 0.5084 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008698/0.4794, allocations: 4.413 MB / 0.5127 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/0.4796, allocations: 0 / 0.5127 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000517/0.4801, allocations: 124 kB / 0.5129 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/0.4801, allocations: 76 kB / 0.5129 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009518/0.4897, allocations: 6.345 MB / 0.5191 GB, free: 12.18 MB / 398.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.02353/0.5132, allocations: 12.42 MB / 0.5313 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007196/0.5205, allocations: 4.602 MB / 0.5357 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01763/0.5381, allocations: 11.81 MB / 0.5473 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.5382, allocations: 52.25 kB / 0.5473 GB, free: 13.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 3.727e-06/0.5382, allocations: 0 / 0.5473 GB, free: 13.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04443/0.5827, allocations: 9.88 MB / 0.557 GB, free: 3.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.5828, allocations: 132.7 kB / 0.5571 GB, free: 3.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/0.5871, allocations: 3.295 MB / 0.5603 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003353/0.5875, allocations: 61.7 kB / 0.5604 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.5888, allocations: 1.589 MB / 0.5619 GB, free: 14.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000837/0.5896, allocations: 0.7896 MB / 0.5627 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/0.5899, allocations: 72 kB / 0.5628 GB, free: 13.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.5901, allocations: 445.6 kB / 0.5632 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.5923, allocations: 1.37 MB / 0.5645 GB, free: 11.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003145/0.5955, allocations: 2.449 MB / 0.5669 GB, free: 8.477 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.5982, allocations: 1.68 MB / 0.5686 GB, free: 6.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.648e-05/0.5983, allocations: 12 kB / 0.5686 GB, free: 6.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01358/0.6118, allocations: 4.983 MB / 0.5734 GB, free: 1.773 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.6119, allocations: 22.03 kB / 0.5735 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.345e-05/0.612, allocations: 32 kB / 0.5735 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005952/0.6179, allocations: 0.7699 MB / 0.5742 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/0.6211, allocations: 0.8425 MB / 0.5751 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/0.6371, allocations: 10.58 MB / 0.5854 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.6405, allocations: 183.8 kB / 0.5856 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007437/0.6412, allocations: 203.9 kB / 0.5858 GB, free: 4.328 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * 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: 6 * 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: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001676/0.6429, allocations: 0.5512 MB / 0.5863 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006797/0.6436, allocations: 256.7 kB / 0.5866 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.655, allocations: 3.255 MB / 0.5897 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.6551, allocations: 24.28 kB / 0.5898 GB, free: 208 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.6551, allocations: 4 kB / 0.5898 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.77e-05/0.6552, allocations: 11.95 kB / 0.5898 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1966/0.8518, allocations: 2.604 MB / 0.5923 GB, free: 128.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.8519, allocations: 2.594 kB / 0.5923 GB, free: 128.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.8535, allocations: 448.8 kB / 0.5927 GB, free: 128.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005909/0.8594, allocations: 0.713 MB / 0.5934 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/0.8596, allocations: 80.48 kB / 0.5935 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/0.872, allocations: 10.32 MB / 0.6036 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.8721, allocations: 17.2 kB / 0.6036 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.8825, allocations: 4.43 MB / 0.6079 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/0.8833, allocations: 369.1 kB / 0.6083 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/0.8837, allocations: 54.44 kB / 0.6083 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.8851, allocations: 83.66 kB / 0.6084 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/0.8855, allocations: 203.3 kB / 0.6086 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.8857, allocations: 91.42 kB / 0.6087 GB, free: 119.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002334/0.888, allocations: 2.321 MB / 0.611 GB, free: 118.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.888, allocations: 0 / 0.611 GB, free: 118.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006549/0.8946, allocations: 2.018 MB / 0.6129 GB, free: 118.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (236): * Single equations (assignments): 230 * 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: 6 * 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: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003606/0.8982, allocations: 2.187 MB / 0.6151 GB, free: 118 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00525/0.9035, allocations: 3.745 MB / 0.6187 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9035, allocations: 5.188 kB / 0.6187 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00249/0.906, allocations: 1.868 MB / 0.6206 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.9081, allocations: 450.4 kB / 0.621 GB, free: 115 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/0.9155, allocations: 6.266 MB / 0.6271 GB, free: 111.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.9165, allocations: 1.774 MB / 0.6288 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002572/0.9191, allocations: 0.6115 MB / 0.6294 GB, free: 110.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.9199, allocations: 408.6 kB / 0.6298 GB, free: 110.6 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.9199, allocations: 0 / 0.6298 GB, free: 110.6 MB / 462.1 MB Notification: Performance of Templates: time 0.07915/0.9991, allocations: 62.98 MB / 0.6913 GB, free: 64.14 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile Environment - environmentSimulation: (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 & ./Chemical_Chemical.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1) Environment - environmentSimulation: