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.001493/0.001493, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001648/0.001649, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08535/0.08535, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 68.11 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 53.62 MB / 479.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01586/0.1183, allocations: 14.74 MB / 494.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3097/0.428, allocations: 49.08 MB / 0.5306 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.4311, allocations: 35.22 kB / 0.5306 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003913/0.4351, allocations: 1.103 MB / 0.5317 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.4473, allocations: 3.415 MB / 0.535 GB, free: 356 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0237/0.4711, allocations: 6.925 MB / 0.5418 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008566/0.4797, allocations: 4.502 MB / 0.5462 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/0.4837, allocations: 2.301 MB / 0.5484 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.4875, allocations: 2.068 MB / 0.5504 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004278/0.4918, allocations: 2.297 MB / 0.5527 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.4928, allocations: 383 kB / 0.553 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/0.5155, allocations: 5.513 MB / 0.5584 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00167/0.5172, allocations: 0.8879 MB / 0.5593 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003099/0.5203, allocations: 1.956 MB / 0.5612 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03175/0.5521, allocations: 9.958 MB / 0.5709 GB, free: 5.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.5521, allocations: 0 / 0.5709 GB, free: 5.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5522, allocations: 0 / 0.5709 GB, free: 5.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001236/0.5523, allocations: 0 / 0.5709 GB, free: 5.484 MB / 414.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.009772/0.5621, allocations: 4.656 MB / 0.5755 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.5621, allocations: 8.031 kB / 0.5755 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.5664, allocations: 0.923 MB / 0.5764 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.5699, allocations: 1.591 MB / 0.5779 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.5702, allocations: 238.6 kB / 0.5782 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006803/0.5708, allocations: 320.2 kB / 0.5785 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008722/0.5796, allocations: 4.457 MB / 0.5828 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-05/0.5797, allocations: 3.938 kB / 0.5828 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.58, allocations: 128 kB / 0.5829 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/0.5801, allocations: 72 kB / 0.583 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009839/0.59, allocations: 6.372 MB / 0.5892 GB, free: 2.512 MB / 430.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.02343/0.6134, allocations: 12.58 MB / 0.6015 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0074/0.6208, allocations: 4.627 MB / 0.606 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.6232, allocations: 1.313 MB / 0.6073 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/0.641, allocations: 12.15 MB / 0.6192 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.6411, allocations: 56.19 kB / 0.6193 GB, free: 1.797 MB / 462.1 MB Notification: Performance of pre-optimization done (n=182): time 4.218e-06/0.6411, allocations: 4 kB / 0.6193 GB, free: 1.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.04198/0.6831, allocations: 9.783 MB / 0.6288 GB, free: 7.781 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.6832, allocations: 128.8 kB / 0.6289 GB, free: 7.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/0.6874, allocations: 3.314 MB / 0.6322 GB, free: 4.289 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00042/0.6878, allocations: 61.7 kB / 0.6322 GB, free: 4.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.6889, allocations: 1.593 MB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008264/0.6897, allocations: 0.7935 MB / 0.6346 GB, free: 1.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009824/0.6907, allocations: 0.6797 MB / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6908, allocations: 313.1 kB / 0.6355 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.6929, allocations: 1.378 MB / 0.6369 GB, free: 15.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/0.6959, allocations: 2.492 MB / 0.6393 GB, free: 12.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/0.701, allocations: 3.58 MB / 0.6428 GB, free: 8.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.111e-05/0.7011, allocations: 12 kB / 0.6428 GB, free: 8.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01361/0.7147, allocations: 4.975 MB / 0.6477 GB, free: 3.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.7148, allocations: 23.98 kB / 0.6477 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-05/0.7149, allocations: 36 kB / 0.6477 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005472/0.7203, allocations: 0.7036 MB / 0.6484 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/0.7234, allocations: 0.8425 MB / 0.6492 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/0.7389, allocations: 11.55 MB / 0.6605 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/0.7424, allocations: 120 kB / 0.6606 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005923/0.743, allocations: 199.9 kB / 0.6608 GB, free: 5.059 MB / 0.4981 GB 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.001214/0.7442, allocations: 0.5482 MB / 0.6613 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006948/0.7449, allocations: 252.8 kB / 0.6616 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/0.7552, allocations: 3.219 MB / 0.6647 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.7553, allocations: 24 kB / 0.6648 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.7553, allocations: 4 kB / 0.6648 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.709e-05/0.7553, allocations: 11.95 kB / 0.6648 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.7596, allocations: 2.605 MB / 0.6673 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.7596, allocations: 0 / 0.6673 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.7613, allocations: 455.8 kB / 0.6677 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005372/0.7667, allocations: 0.6644 MB / 0.6684 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/0.767, allocations: 83.95 kB / 0.6685 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/0.7811, allocations: 11.29 MB / 0.6795 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.7812, allocations: 7.938 kB / 0.6795 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/0.7924, allocations: 4.152 MB / 0.6836 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008398/0.7933, allocations: 317.8 kB / 0.6839 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004683/0.7938, allocations: 55.92 kB / 0.6839 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.7953, allocations: 56 kB / 0.684 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004472/0.7957, allocations: 189.6 kB / 0.6842 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.7959, allocations: 99.95 kB / 0.6842 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002963/0.7989, allocations: 2.338 MB / 0.6865 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7989, allocations: 0 / 0.6865 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006901/0.8058, allocations: 2.084 MB / 0.6886 GB, free: 7.523 MB / 0.5294 GB 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.004775/0.8106, allocations: 2.243 MB / 0.6908 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006293/0.8169, allocations: 3.78 MB / 0.6944 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.817, allocations: 0 / 0.6944 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.8198, allocations: 1.886 MB / 0.6963 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.8227, allocations: 0.5013 MB / 0.6968 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/0.8313, allocations: 5.179 MB / 0.7018 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.8325, allocations: 1.717 MB / 0.7035 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.834, allocations: 0.521 MB / 0.704 GB, free: 7.438 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/0.834, allocations: 0 / 0.704 GB, free: 7.438 MB / 0.545 GB Notification: Performance of Templates: time 0.3639/1.198, allocations: 121.8 MB / 0.8229 GB, free: 92.38 MB / 0.545 GB 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)