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.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: 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.0009004/0.0009005, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007103/0.007103, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2499/0.2499, allocations: 15.28 MB / 306.7 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 8 kB / 372.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 54.62 MB / 426.7 MB, free: 40.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.0125/0.3482, allocations: 16.65 MB / 443.4 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04746/0.3957, allocations: 48.52 MB / 491.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004556/0.4003, allocations: 71 kB / 491.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004257/0.4045, allocations: 0.9959 MB / 492.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.4169, allocations: 3 MB / 495.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02352/0.4405, allocations: 6.075 MB / 0.4902 GB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008385/0.4489, allocations: 4.277 MB / 0.4944 GB, free: 3.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/0.4535, allocations: 1.878 MB / 0.4963 GB, free: 2.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005131/0.4586, allocations: 1.919 MB / 0.4981 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005703/0.4644, allocations: 2.14 MB / 0.5002 GB, free: 188 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.4659, allocations: 200 kB / 0.5004 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02441/0.4903, allocations: 5.361 MB / 0.5057 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.4919, allocations: 0.6965 MB / 0.5063 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004518/0.4965, allocations: 1.786 MB / 0.5081 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03229/0.5288, allocations: 9.177 MB / 0.517 GB, free: 14.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5288, allocations: 0 / 0.517 GB, free: 14.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5289, allocations: 0 / 0.517 GB, free: 14.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002096/0.5291, allocations: 0 / 0.517 GB, free: 14.9 MB / 398.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.01019/0.5393, allocations: 3.892 MB / 0.5208 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5393, allocations: 12.03 kB / 0.5208 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/0.5438, allocations: 0.922 MB / 0.5217 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.5473, allocations: 1.501 MB / 0.5232 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.5476, allocations: 238.6 kB / 0.5234 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000975/0.5485, allocations: 320.2 kB / 0.5237 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009914/0.5585, allocations: 4.465 MB / 0.5281 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.5586, allocations: 0 / 0.5281 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006228/0.5592, allocations: 124 kB / 0.5282 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-05/0.5593, allocations: 76 kB / 0.5283 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.5703, allocations: 6.368 MB / 0.5345 GB, free: 12.78 MB / 414.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.02689/0.5972, allocations: 12.52 MB / 0.5467 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007831/0.6051, allocations: 4.607 MB / 0.5512 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.6076, allocations: 1.316 MB / 0.5525 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01837/0.626, allocations: 11.93 MB / 0.5642 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.6261, allocations: 56.19 kB / 0.5642 GB, free: 12.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=182): time 4.128e-06/0.6261, allocations: 0 / 0.5642 GB, free: 12.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=227): time 0.04748/0.6736, allocations: 9.904 MB / 0.5739 GB, free: 2.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.6737, allocations: 128.7 kB / 0.574 GB, free: 2.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2108/0.8846, allocations: 3.314 MB / 0.5773 GB, free: 118.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004487/0.885, allocations: 65.48 kB / 0.5773 GB, free: 118.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.8862, allocations: 1.587 MB / 0.5789 GB, free: 118.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008918/0.8871, allocations: 0.801 MB / 0.5797 GB, free: 117.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005467/0.8876, allocations: 278.2 kB / 0.5799 GB, free: 117.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.8877, allocations: 301.1 kB / 0.5802 GB, free: 117.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.8897, allocations: 1.385 MB / 0.5816 GB, free: 117.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.8922, allocations: 2.476 MB / 0.584 GB, free: 116.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/0.8961, allocations: 3.592 MB / 0.5875 GB, free: 113.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.891e-05/0.8962, allocations: 12.38 kB / 0.5875 GB, free: 113.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01257/0.9088, allocations: 5.005 MB / 0.5924 GB, free: 112 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.9089, allocations: 21.47 kB / 0.5924 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.979e-05/0.909, allocations: 36.62 kB / 0.5924 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006357/0.9153, allocations: 0.7492 MB / 0.5932 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.9186, allocations: 0.8386 MB / 0.594 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.9325, allocations: 10.5 MB / 0.6043 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.9358, allocations: 189.7 kB / 0.6044 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006224/0.9365, allocations: 199.6 kB / 0.6046 GB, free: 102.4 MB / 446.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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001502/0.938, allocations: 0.5471 MB / 0.6052 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/0.9385, allocations: 265.7 kB / 0.6054 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.9499, allocations: 3.255 MB / 0.6086 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/0.9499, allocations: 24.59 kB / 0.6086 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/0.95, allocations: 2.781 kB / 0.6086 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.261e-05/0.95, allocations: 10.12 kB / 0.6086 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004933/0.955, allocations: 2.606 MB / 0.6112 GB, free: 99.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/0.955, allocations: 6.031 kB / 0.6112 GB, free: 99.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.9568, allocations: 442.9 kB / 0.6116 GB, free: 99.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006111/0.9629, allocations: 0.7215 MB / 0.6123 GB, free: 99.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004752/0.9634, allocations: 79.69 kB / 0.6124 GB, free: 99.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.9771, allocations: 10.23 MB / 0.6224 GB, free: 90.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.9772, allocations: 7.406 kB / 0.6224 GB, free: 90.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.9911, allocations: 4.186 MB / 0.6265 GB, free: 88.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.9924, allocations: 372.4 kB / 0.6268 GB, free: 87.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007261/0.9931, allocations: 52.23 kB / 0.6269 GB, free: 87.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/0.9953, allocations: 86.89 kB / 0.627 GB, free: 87.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/0.996, allocations: 201 kB / 0.6271 GB, free: 87.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/0.9963, allocations: 94.86 kB / 0.6272 GB, free: 87.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003723/1, allocations: 2.339 MB / 0.6295 GB, free: 86.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1, allocations: 2.625 kB / 0.6295 GB, free: 86.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007828/1.008, allocations: 2.063 MB / 0.6315 GB, free: 86.43 MB / 446.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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005879/1.014, allocations: 2.23 MB / 0.6337 GB, free: 86.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006585/1.02, allocations: 3.765 MB / 0.6374 GB, free: 84.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.02, allocations: 0 / 0.6374 GB, free: 84.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/1.023, allocations: 1.876 MB / 0.6392 GB, free: 83.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/1.028, allocations: 481.3 kB / 0.6397 GB, free: 82.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/1.036, allocations: 6.608 MB / 0.6461 GB, free: 78.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/1.038, allocations: 1.723 MB / 0.6478 GB, free: 77.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003137/1.041, allocations: 0.6059 MB / 0.6484 GB, free: 76.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/1.042, allocations: 405.6 kB / 0.6488 GB, free: 76.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/1.042, allocations: 4 kB / 0.6488 GB, free: 76.65 MB / 446.1 MB Notification: Performance of Templates: time 0.08254/1.125, allocations: 65.8 MB / 0.7131 GB, free: 12.98 MB / 446.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile (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)