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.001221/0.001221, allocations: 108.1 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.00118/0.00118, allocations: 187 kB / 17.34 MB, free: 5.738 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0799/0.0799, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.12 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09225, allocations: 53.62 MB / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01407/0.1064, allocations: 14.74 MB / 494.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2614/0.3678, allocations: 49.08 MB / 0.5306 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.3706, allocations: 34.97 kB / 0.5306 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.3741, allocations: 1.1 MB / 0.5317 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.3845, allocations: 3.415 MB / 0.535 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02025/0.4048, allocations: 6.929 MB / 0.5418 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006808/0.4117, allocations: 4.501 MB / 0.5462 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0031/0.4148, allocations: 2.308 MB / 0.5484 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.4178, allocations: 2.057 MB / 0.5504 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.4215, allocations: 2.301 MB / 0.5527 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008037/0.4223, allocations: 382.6 kB / 0.553 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01955/0.4418, allocations: 5.522 MB / 0.5584 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.4434, allocations: 0.8879 MB / 0.5593 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.4466, allocations: 1.952 MB / 0.5612 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02482/0.4714, allocations: 9.946 MB / 0.5709 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.4715, allocations: 4 kB / 0.5709 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4715, allocations: 0 / 0.5709 GB, free: 5.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001414/0.4716, allocations: 0 / 0.5709 GB, free: 5.609 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.01007/0.4817, allocations: 4.664 MB / 0.5755 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4818, allocations: 8.031 kB / 0.5755 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.486, allocations: 0.9124 MB / 0.5764 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.489, allocations: 1.598 MB / 0.5779 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.4892, allocations: 234.6 kB / 0.5782 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005882/0.4898, allocations: 320.2 kB / 0.5785 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.497, allocations: 4.453 MB / 0.5828 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.4971, allocations: 11.94 kB / 0.5828 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.4974, allocations: 128 kB / 0.5829 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.4974, allocations: 76 kB / 0.583 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008908/0.5063, allocations: 6.364 MB / 0.5892 GB, free: 2.633 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.02244/0.5288, allocations: 12.59 MB / 0.6015 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00726/0.5361, allocations: 4.62 MB / 0.606 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.5382, allocations: 1.312 MB / 0.6073 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/0.5553, allocations: 12.16 MB / 0.6192 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.5554, allocations: 52.25 kB / 0.6192 GB, free: 1.918 MB / 462.1 MB Notification: Performance of pre-optimization done (n=182): time 5.901e-06/0.5554, allocations: 0 / 0.6192 GB, free: 1.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.04261/0.598, allocations: 9.79 MB / 0.6288 GB, free: 7.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.5981, allocations: 132.8 kB / 0.6289 GB, free: 7.742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/0.6021, allocations: 3.311 MB / 0.6322 GB, free: 4.406 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.6025, allocations: 61.7 kB / 0.6322 GB, free: 4.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009983/0.6035, allocations: 1.593 MB / 0.6338 GB, free: 2.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000772/0.6043, allocations: 0.7857 MB / 0.6345 GB, free: 1.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009571/0.6052, allocations: 0.6952 MB / 0.6352 GB, free: 1.227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.6053, allocations: 309 kB / 0.6355 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.6074, allocations: 1.378 MB / 0.6369 GB, free: 15.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/0.6102, allocations: 2.484 MB / 0.6393 GB, free: 12.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/0.6149, allocations: 3.588 MB / 0.6428 GB, free: 8.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/0.615, allocations: 8 kB / 0.6428 GB, free: 8.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01282/0.6278, allocations: 4.971 MB / 0.6477 GB, free: 3.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.6279, allocations: 20 kB / 0.6477 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/0.6279, allocations: 36.19 kB / 0.6477 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005689/0.6336, allocations: 0.7074 MB / 0.6484 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/0.6369, allocations: 0.8347 MB / 0.6492 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.6527, allocations: 11.55 MB / 0.6605 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/0.6558, allocations: 120 kB / 0.6606 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/0.6563, allocations: 195.9 kB / 0.6608 GB, free: 5.188 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.001209/0.6575, allocations: 0.5522 MB / 0.6613 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007026/0.6582, allocations: 256.7 kB / 0.6616 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.6689, allocations: 3.211 MB / 0.6647 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.669, allocations: 24 kB / 0.6647 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/0.669, allocations: 0 / 0.6647 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/0.669, allocations: 19.89 kB / 0.6648 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.6733, allocations: 2.617 MB / 0.6673 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.6733, allocations: 4 kB / 0.6673 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.675, allocations: 447.4 kB / 0.6677 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005454/0.6805, allocations: 0.6725 MB / 0.6684 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003889/0.6809, allocations: 83.95 kB / 0.6685 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.6952, allocations: 11.28 MB / 0.6795 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-06/0.6952, allocations: 8.062 kB / 0.6795 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.7066, allocations: 4.155 MB / 0.6836 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007906/0.7074, allocations: 317.8 kB / 0.6839 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/0.708, allocations: 51.92 kB / 0.6839 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.7095, allocations: 52 kB / 0.684 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/0.71, allocations: 193.6 kB / 0.6842 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.7101, allocations: 99.95 kB / 0.6842 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002651/0.7128, allocations: 2.346 MB / 0.6865 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7128, allocations: 0 / 0.6865 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006526/0.7193, allocations: 2.073 MB / 0.6886 GB, free: 7.645 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.005485/0.7249, allocations: 2.254 MB / 0.6908 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007548/0.7324, allocations: 3.779 MB / 0.6945 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.7325, allocations: 0 / 0.6945 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/0.7358, allocations: 1.875 MB / 0.6963 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/0.7392, allocations: 0.5085 MB / 0.6968 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/0.7489, allocations: 5.186 MB / 0.7018 GB, free: 9.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/0.7507, allocations: 1.713 MB / 0.7035 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/0.7524, allocations: 0.5288 MB / 0.704 GB, free: 7.547 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/0.7524, allocations: 0 / 0.704 GB, free: 7.547 MB / 0.545 GB Notification: Performance of Templates: time 0.3293/1.082, allocations: 122.2 MB / 0.8234 GB, free: 92.56 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)