Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 77.78 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 162.4 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1223/0.1223, allocations: 17.36 MB / 277.1 MB, free: 15.25 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.89 kB / 412.4 MB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1104, allocations: 59.85 MB / 472.3 MB, free: 9.734 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.2151/0.3254, allocations: 12.92 MB / 485.2 MB, free: 43.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03619/0.3616, allocations: 43.19 MB / 0.516 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.3639, allocations: 48.59 kB / 0.5161 GB, free: 16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.3664, allocations: 0.9947 MB / 0.517 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008123/0.3745, allocations: 3.427 MB / 0.5204 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01554/0.3901, allocations: 7.075 MB / 0.5273 GB, free: 9.258 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006218/0.3963, allocations: 4.493 MB / 0.5317 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.3988, allocations: 1.886 MB / 0.5335 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.4018, allocations: 2.099 MB / 0.5356 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.4057, allocations: 2.08 MB / 0.5376 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.4071, allocations: 383.1 kB / 0.538 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0156/0.4227, allocations: 5.236 MB / 0.5431 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001682/0.4244, allocations: 0.8803 MB / 0.5439 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003275/0.4277, allocations: 1.655 MB / 0.5456 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.4499, allocations: 10.21 MB / 0.5555 GB, free: 13.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4499, allocations: 4 kB / 0.5555 GB, free: 13.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4499, allocations: 0 / 0.5555 GB, free: 13.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001189/0.45, allocations: 0 / 0.5555 GB, free: 13.68 MB / 462.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.01129/0.4613, allocations: 4.727 MB / 0.5601 GB, free: 9.734 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4613, allocations: 16.03 kB / 0.5602 GB, free: 9.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006333/0.4677, allocations: 0.9298 MB / 0.5611 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.4727, allocations: 1.55 MB / 0.5626 GB, free: 7.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.473, allocations: 230.6 kB / 0.5628 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.474, allocations: 328.3 kB / 0.5631 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.4861, allocations: 4.527 MB / 0.5675 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4862, allocations: 0 / 0.5675 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005778/0.4868, allocations: 128 kB / 0.5677 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.196e-05/0.4869, allocations: 79.94 kB / 0.5677 GB, free: 1.852 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.5019, allocations: 6.414 MB / 0.574 GB, free: 11.41 MB / 478.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.0235/0.5254, allocations: 10.46 MB / 0.5842 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007173/0.5326, allocations: 3.724 MB / 0.5878 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.5348, allocations: 1.176 MB / 0.589 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01678/0.5516, allocations: 6.283 MB / 0.5951 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/0.5517, allocations: 56 kB / 0.5952 GB, free: 5.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=182): time 5e-06/0.5517, allocations: 0 / 0.5952 GB, free: 5.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.04419/0.5959, allocations: 9.41 MB / 0.6044 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.596, allocations: 128.7 kB / 0.6045 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004815/0.6008, allocations: 3.276 MB / 0.6077 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003448/0.6011, allocations: 65.7 kB / 0.6078 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.6024, allocations: 1.652 MB / 0.6094 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/0.6034, allocations: 0.8367 MB / 0.6102 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/0.6048, allocations: 0.6878 MB / 0.6109 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.605, allocations: 309 kB / 0.6112 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.6074, allocations: 1.417 MB / 0.6125 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003595/0.611, allocations: 2.53 MB / 0.615 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/0.6164, allocations: 3.619 MB / 0.6185 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/0.6164, allocations: 12 kB / 0.6186 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01421/0.6306, allocations: 5.027 MB / 0.6235 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.6307, allocations: 20 kB / 0.6235 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.035e-05/0.6307, allocations: 37.56 kB / 0.6235 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/0.6363, allocations: 0.7153 MB / 0.6242 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.6393, allocations: 0.8386 MB / 0.625 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/0.6559, allocations: 10.71 MB / 0.6355 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/0.6592, allocations: 120 kB / 0.6356 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000692/0.6599, allocations: 201.1 kB / 0.6358 GB, free: 10.08 MB / 0.5294 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.001534/0.6614, allocations: 0.5319 MB / 0.6363 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008812/0.6623, allocations: 250.5 kB / 0.6366 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.6733, allocations: 3.199 MB / 0.6397 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.6734, allocations: 24 kB / 0.6397 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.6734, allocations: 4 kB / 0.6397 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/0.6734, allocations: 15.89 kB / 0.6397 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.6774, allocations: 1.938 MB / 0.6416 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.6774, allocations: 4 kB / 0.6416 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.6792, allocations: 451.8 kB / 0.6421 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005431/0.6846, allocations: 0.6644 MB / 0.6427 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002342/0.6848, allocations: 79.97 kB / 0.6428 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/0.7004, allocations: 10.43 MB / 0.653 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.7004, allocations: 11.92 kB / 0.653 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/0.7127, allocations: 4.137 MB / 0.657 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/0.7134, allocations: 238.2 kB / 0.6572 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005884/0.714, allocations: 48.11 kB / 0.6573 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.7157, allocations: 59.92 kB / 0.6574 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.7161, allocations: 201.5 kB / 0.6575 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/0.7164, allocations: 99.95 kB / 0.6576 GB, free: 2.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00311/0.7195, allocations: 2.27 MB / 0.6599 GB, free: 0.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7195, allocations: 0 / 0.6599 GB, free: 0.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006884/0.7264, allocations: 2.107 MB / 0.6619 GB, free: 14.51 MB / 0.5606 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.005829/0.7322, allocations: 2.301 MB / 0.6642 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006439/0.7386, allocations: 3.639 MB / 0.6677 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.7386, allocations: 7.938 kB / 0.6677 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.7416, allocations: 1.773 MB / 0.6695 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7442, allocations: 0.4908 MB / 0.6699 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009133/0.7533, allocations: 5.2 MB / 0.675 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.7549, allocations: 1.169 MB / 0.6762 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002125/0.757, allocations: 0.5923 MB / 0.6767 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/0.7579, allocations: 395.2 kB / 0.6771 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.7579, allocations: 0 / 0.6771 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.2893/1.047, allocations: 69.87 MB / 0.7453 GB, free: 152.9 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.825622079079039] Failed to read output from testmodel.py, exit status != 0: 1.0568426619283855 1.066058034 0.613821162 Calling exit ...