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.00854/0.00854, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002003/0.002003, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.508/1.508, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2212/0.2212, allocations: 15.31 MB / 305.9 MB, free: 15.31 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 370.3 MB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.105, allocations: 53.61 MB / 423.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.2007/0.3057, allocations: 17.24 MB / 441.1 MB, free: 41.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04288/0.3486, allocations: 49.07 MB / 490.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.3529, allocations: 75.91 kB / 490.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003835/0.3567, allocations: 1.007 MB / 491.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3682, allocations: 2.985 MB / 494.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02322/0.3914, allocations: 6.073 MB / 0.4886 GB, free: 6.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007534/0.399, allocations: 4.278 MB / 0.4928 GB, free: 4.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0045/0.4035, allocations: 1.966 MB / 0.4947 GB, free: 4.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006398/0.4099, allocations: 2.009 MB / 0.4967 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005424/0.4154, allocations: 2.242 MB / 0.4989 GB, free: 2.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002075/0.4175, allocations: 242.6 kB / 0.4991 GB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02327/0.4408, allocations: 5.405 MB / 0.5044 GB, free: 1.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002371/0.4432, allocations: 0.7634 MB / 0.5051 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005337/0.4485, allocations: 1.832 MB / 0.5069 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.4629, allocations: 7.27 MB / 0.514 GB, free: 9.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.463, allocations: 0 / 0.514 GB, free: 9.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.463, allocations: 0 / 0.514 GB, free: 9.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002334/0.4632, allocations: 0 / 0.514 GB, free: 9.594 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.01212/0.4754, allocations: 4.672 MB / 0.5186 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4754, allocations: 8.031 kB / 0.5186 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/0.4803, allocations: 0.9272 MB / 0.5195 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.4837, allocations: 1.54 MB / 0.521 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.484, allocations: 234.5 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.4851, allocations: 320.2 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009626/0.4947, allocations: 4.468 MB / 0.5259 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.862e-05/0.4948, allocations: 0 / 0.5259 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006056/0.4954, allocations: 124 kB / 0.526 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-05/0.4955, allocations: 76 kB / 0.5261 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.5058, allocations: 6.368 MB / 0.5323 GB, free: 6.648 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.02528/0.5312, allocations: 12.64 MB / 0.5446 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008016/0.5392, allocations: 4.616 MB / 0.5492 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.5417, allocations: 1.315 MB / 0.5504 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01963/0.5613, allocations: 12.19 MB / 0.5623 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.5614, allocations: 52.25 kB / 0.5624 GB, free: 5.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 3.777e-06/0.5614, allocations: 0 / 0.5624 GB, free: 5.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04994/0.6113, allocations: 9.78 MB / 0.5719 GB, free: 11.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6115, allocations: 124.8 kB / 0.5721 GB, free: 11.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005168/0.6167, allocations: 3.314 MB / 0.5753 GB, free: 8.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005032/0.6172, allocations: 61.7 kB / 0.5754 GB, free: 8.305 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.6185, allocations: 1.589 MB / 0.5769 GB, free: 6.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.6197, allocations: 0.7934 MB / 0.5777 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/0.6215, allocations: 0.6913 MB / 0.5784 GB, free: 5.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6216, allocations: 305.1 kB / 0.5787 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002521/0.6241, allocations: 1.377 MB / 0.58 GB, free: 3.512 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/0.6276, allocations: 2.484 MB / 0.5824 GB, free: 0.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005646/0.6333, allocations: 3.584 MB / 0.5859 GB, free: 12.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-05/0.6334, allocations: 12 kB / 0.5859 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01491/0.6483, allocations: 4.971 MB / 0.5908 GB, free: 7.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.6484, allocations: 27.98 kB / 0.5908 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.277e-05/0.6485, allocations: 36 kB / 0.5908 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006211/0.6547, allocations: 0.7112 MB / 0.5915 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.6581, allocations: 0.8425 MB / 0.5924 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2365/0.8947, allocations: 10.42 MB / 0.6025 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/0.8981, allocations: 188.6 kB / 0.6027 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004622/0.8986, allocations: 195.3 kB / 0.6029 GB, free: 122.8 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 (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.001159/0.8997, allocations: 0.5444 MB / 0.6034 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006734/0.9004, allocations: 261.7 kB / 0.6037 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.9111, allocations: 3.225 MB / 0.6068 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/0.9112, allocations: 29.88 kB / 0.6069 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-05/0.9112, allocations: 0.5156 kB / 0.6069 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/0.9112, allocations: 16.45 kB / 0.6069 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.9152, allocations: 2.592 MB / 0.6094 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.9152, allocations: 5.781 kB / 0.6094 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.9169, allocations: 442.8 kB / 0.6098 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005715/0.9226, allocations: 0.6788 MB / 0.6105 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003398/0.9229, allocations: 76.69 kB / 0.6106 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/0.9352, allocations: 10.16 MB / 0.6205 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.9352, allocations: 8.75 kB / 0.6205 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/0.9469, allocations: 4.155 MB / 0.6246 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008204/0.9478, allocations: 316.6 kB / 0.6249 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006707/0.9485, allocations: 51.69 kB / 0.6249 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.9505, allocations: 91.73 kB / 0.625 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004784/0.951, allocations: 203 kB / 0.6252 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/0.9512, allocations: 91.06 kB / 0.6253 GB, free: 110.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002693/0.9539, allocations: 2.338 MB / 0.6276 GB, free: 109.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9539, allocations: 0 / 0.6276 GB, free: 109.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006429/0.9604, allocations: 2.07 MB / 0.6296 GB, free: 109.5 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 (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.005882/0.9663, allocations: 2.237 MB / 0.6318 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007162/0.9734, allocations: 3.764 MB / 0.6354 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.9735, allocations: 0 / 0.6354 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003018/0.9765, allocations: 1.874 MB / 0.6373 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.98, allocations: 472.5 kB / 0.6377 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.9907, allocations: 6.568 MB / 0.6441 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.9927, allocations: 1.712 MB / 0.6458 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/0.9945, allocations: 0.5269 MB / 0.6463 GB, free: 101.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.554e-06/0.9946, allocations: 1.188 kB / 0.6463 GB, free: 101.5 MB / 462.1 MB Notification: Performance of Templates: time 0.1117/1.106, allocations: 121.6 MB / 0.765 GB, free: 13.18 MB / 478.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)