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.001184/0.001184, allocations: 109.1 kB / 16.36 MB, free: 6.004 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.001122/0.001122, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08113/0.08113, allocations: 15.31 MB / 306.5 MB, free: 15.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.66 kB / 371.7 MB, free: 50.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08981, allocations: 53.62 MB / 425.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01422/0.1041, allocations: 14.75 MB / 440.1 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05396/0.1581, allocations: 49.08 MB / 489.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.1605, allocations: 35.81 kB / 489.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003126/0.1636, allocations: 1.101 MB / 490.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009387/0.1731, allocations: 3.414 MB / 493.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01919/0.1923, allocations: 6.922 MB / 0.4889 GB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007225/0.1995, allocations: 4.506 MB / 0.4933 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00402/0.2036, allocations: 2.299 MB / 0.4956 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.2071, allocations: 2.057 MB / 0.4976 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.2101, allocations: 2.297 MB / 0.4998 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005645/0.2107, allocations: 384 kB / 0.5002 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.226, allocations: 5.523 MB / 0.5056 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2069/0.433, allocations: 0.8748 MB / 0.5064 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003112/0.4361, allocations: 1.955 MB / 0.5083 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02545/0.4616, allocations: 9.925 MB / 0.518 GB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4616, allocations: 0 / 0.518 GB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4617, allocations: 0 / 0.518 GB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.4618, allocations: 0 / 0.518 GB, free: 12 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.01273/0.4745, allocations: 4.677 MB / 0.5226 GB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4746, allocations: 9.625 kB / 0.5226 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004679/0.4793, allocations: 0.9202 MB / 0.5235 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.4834, allocations: 1.594 MB / 0.5251 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.4836, allocations: 232.8 kB / 0.5253 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006057/0.4842, allocations: 325 kB / 0.5256 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006896/0.4911, allocations: 4.457 MB / 0.53 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.4912, allocations: 5.016 kB / 0.53 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/0.4915, allocations: 125.2 kB / 0.5301 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.244e-05/0.4916, allocations: 76.22 kB / 0.5302 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008685/0.5003, allocations: 6.366 MB / 0.5364 GB, free: 8.941 MB / 382.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.02421/0.5245, allocations: 12.58 MB / 0.5487 GB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006196/0.5307, allocations: 4.622 MB / 0.5532 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.5326, allocations: 1.316 MB / 0.5545 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01863/0.5512, allocations: 12.15 MB / 0.5663 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/0.5513, allocations: 52.25 kB / 0.5664 GB, free: 2.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=182): time 3.997e-06/0.5513, allocations: 7.188 kB / 0.5664 GB, free: 2.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.05055/0.6019, allocations: 9.777 MB / 0.5759 GB, free: 8.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.602, allocations: 128.8 kB / 0.5761 GB, free: 8.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/0.6072, allocations: 3.314 MB / 0.5793 GB, free: 4.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004597/0.6076, allocations: 61.7 kB / 0.5794 GB, free: 4.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.609, allocations: 1.593 MB / 0.5809 GB, free: 3.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.6102, allocations: 0.7972 MB / 0.5817 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/0.6122, allocations: 0.6914 MB / 0.5824 GB, free: 1.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6124, allocations: 305.1 kB / 0.5827 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002524/0.6149, allocations: 1.377 MB / 0.584 GB, free: 76 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/0.6183, allocations: 2.487 MB / 0.5864 GB, free: 13.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/0.6236, allocations: 3.58 MB / 0.5899 GB, free: 9.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.852e-05/0.6237, allocations: 12 kB / 0.5899 GB, free: 9.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01491/0.6386, allocations: 4.972 MB / 0.5948 GB, free: 4.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.6387, allocations: 20 kB / 0.5948 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.983e-05/0.6388, allocations: 36 kB / 0.5948 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.6452, allocations: 0.7138 MB / 0.5955 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003605/0.6489, allocations: 0.8392 MB / 0.5964 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.6661, allocations: 11.54 MB / 0.6076 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.6697, allocations: 120 kB / 0.6077 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007209/0.6704, allocations: 195.9 kB / 0.6079 GB, free: 6.242 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.001934/0.6724, allocations: 0.5484 MB / 0.6085 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/0.6735, allocations: 260.6 kB / 0.6087 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.6856, allocations: 3.216 MB / 0.6119 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.6857, allocations: 24 kB / 0.6119 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/0.6857, allocations: 4 kB / 0.6119 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-05/0.6857, allocations: 15.42 kB / 0.6119 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005248/0.691, allocations: 2.611 MB / 0.6144 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/0.691, allocations: 4 kB / 0.6144 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.6929, allocations: 452.2 kB / 0.6149 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006048/0.699, allocations: 0.6638 MB / 0.6155 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003703/0.6994, allocations: 79.97 kB / 0.6156 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/0.715, allocations: 11.29 MB / 0.6266 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.7151, allocations: 4 kB / 0.6266 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/0.7281, allocations: 4.161 MB / 0.6307 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.7292, allocations: 321.8 kB / 0.631 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007455/0.73, allocations: 51.94 kB / 0.631 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.732, allocations: 59.98 kB / 0.6311 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004624/0.7324, allocations: 185.2 kB / 0.6313 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/0.7327, allocations: 99.95 kB / 0.6314 GB, free: 13.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003088/0.7358, allocations: 2.338 MB / 0.6337 GB, free: 11.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7358, allocations: 4 kB / 0.6337 GB, free: 11.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00679/0.7426, allocations: 2.081 MB / 0.6357 GB, free: 8.965 MB / 478.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.005239/0.7478, allocations: 2.238 MB / 0.6379 GB, free: 7.023 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007042/0.7549, allocations: 3.769 MB / 0.6416 GB, free: 3.316 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.7549, allocations: 0 / 0.6416 GB, free: 3.316 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002986/0.7579, allocations: 1.894 MB / 0.6434 GB, free: 1.402 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.7612, allocations: 0.5062 MB / 0.6439 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008996/0.7702, allocations: 5.128 MB / 0.6489 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.7719, allocations: 1.713 MB / 0.6506 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002552/0.7745, allocations: 0.6047 MB / 0.6512 GB, free: 9.375 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009765/0.7754, allocations: 406.2 kB / 0.6516 GB, free: 8.977 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.7755, allocations: 0 / 0.6516 GB, free: 8.977 MB / 494.1 MB Notification: Performance of Templates: time 0.2833/1.059, allocations: 68.43 MB / 0.7184 GB, free: 195.2 MB / 0.5137 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)