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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 107.2 kB / 17.12 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 194.7 kB / 20.08 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09052/0.09052, allocations: 15.54 MB / 318.9 MB, free: 13.65 MB / 254.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 64.52 kB / 446.1 MB, free: 48.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 56.56 MB / 0.4909 GB, free: 20.71 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01151/0.1144, allocations: 14.83 MB / 0.5054 GB, free: 8.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05573/0.1701, allocations: 49.24 MB / 0.5534 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003803/0.1739, allocations: 47.62 kB / 0.5535 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.1778, allocations: 1.111 MB / 0.5546 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.1894, allocations: 3.433 MB / 0.5579 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02224/0.2116, allocations: 6.989 MB / 0.5647 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008203/0.2198, allocations: 4.505 MB / 0.5691 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003601/0.2234, allocations: 1.905 MB / 0.571 GB, free: 5.109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.2271, allocations: 2.1 MB / 0.5731 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.2314, allocations: 2.312 MB / 0.5753 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.2328, allocations: 388 kB / 0.5757 GB, free: 312 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01929/0.2521, allocations: 5.589 MB / 0.5811 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.2539, allocations: 0.884 MB / 0.582 GB, free: 9.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004094/0.2579, allocations: 1.952 MB / 0.5839 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02796/0.2859, allocations: 9.992 MB / 0.5937 GB, free: 13.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2859, allocations: 0 / 0.5937 GB, free: 13.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2859, allocations: 0 / 0.5937 GB, free: 13.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000148/0.2861, allocations: 0 / 0.5937 GB, free: 13.83 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.01095/0.297, allocations: 4.808 MB / 0.5984 GB, free: 8.941 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2971, allocations: 8.031 kB / 0.5984 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.3013, allocations: 0.9308 MB / 0.5993 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.3046, allocations: 1.607 MB / 0.6009 GB, free: 6.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.3048, allocations: 230.6 kB / 0.6011 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006106/0.3054, allocations: 328.3 kB / 0.6014 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007805/0.3132, allocations: 4.461 MB / 0.6057 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/0.3133, allocations: 3.938 kB / 0.6057 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.3136, allocations: 124 kB / 0.6059 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.3137, allocations: 80 kB / 0.6059 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2595/0.5732, allocations: 6.362 MB / 0.6122 GB, free: 96.95 MB / 462.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.02357/0.5968, allocations: 12.62 MB / 0.6245 GB, free: 90.26 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006434/0.6032, allocations: 4.465 MB / 0.6288 GB, free: 87.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.605, allocations: 1.174 MB / 0.63 GB, free: 87.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/0.6191, allocations: 12.17 MB / 0.6419 GB, free: 76.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.6192, allocations: 55.09 kB / 0.6419 GB, free: 76.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=182): time 3.818e-06/0.6192, allocations: 2.531 kB / 0.6419 GB, free: 76.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.03957/0.6587, allocations: 9.879 MB / 0.6516 GB, free: 67.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.6588, allocations: 133.4 kB / 0.6517 GB, free: 67.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/0.6623, allocations: 3.315 MB / 0.6549 GB, free: 64.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003509/0.6627, allocations: 61.7 kB / 0.655 GB, free: 64.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007337/0.6634, allocations: 1.644 MB / 0.6566 GB, free: 62.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007555/0.6642, allocations: 0.8309 MB / 0.6574 GB, free: 62.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.6654, allocations: 0.6917 MB / 0.6581 GB, free: 61.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.314e-05/0.6654, allocations: 305.1 kB / 0.6584 GB, free: 61.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.6672, allocations: 1.377 MB / 0.6597 GB, free: 59.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.6695, allocations: 2.491 MB / 0.6622 GB, free: 56.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.6733, allocations: 3.583 MB / 0.6657 GB, free: 52.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-05/0.6734, allocations: 12 kB / 0.6657 GB, free: 52.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01182/0.6852, allocations: 4.968 MB / 0.6705 GB, free: 47.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.6852, allocations: 24.12 kB / 0.6705 GB, free: 47.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.985e-05/0.6853, allocations: 44 kB / 0.6706 GB, free: 47.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005175/0.6905, allocations: 0.711 MB / 0.6713 GB, free: 47.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.6934, allocations: 0.8386 MB / 0.6721 GB, free: 46.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.7069, allocations: 11.55 MB / 0.6834 GB, free: 33.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/0.7105, allocations: 112 kB / 0.6835 GB, free: 33.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006625/0.7111, allocations: 204 kB / 0.6837 GB, free: 33.58 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.001499/0.7126, allocations: 0.5417 MB / 0.6842 GB, free: 33.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00089/0.7135, allocations: 274.2 kB / 0.6845 GB, free: 32.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.7236, allocations: 3.21 MB / 0.6876 GB, free: 29.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.7236, allocations: 24 kB / 0.6876 GB, free: 29.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/0.7236, allocations: 8 kB / 0.6876 GB, free: 29.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.28e-05/0.7237, allocations: 11.95 kB / 0.6877 GB, free: 29.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/0.7279, allocations: 2.599 MB / 0.6902 GB, free: 26.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/0.7279, allocations: 4 kB / 0.6902 GB, free: 26.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.7296, allocations: 447.8 kB / 0.6906 GB, free: 26.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/0.7347, allocations: 0.6721 MB / 0.6913 GB, free: 25.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003893/0.7351, allocations: 83.97 kB / 0.6914 GB, free: 25.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/0.7471, allocations: 11.29 MB / 0.7024 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7471, allocations: 4 kB / 0.7024 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.7582, allocations: 4.153 MB / 0.7064 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000805/0.759, allocations: 329.8 kB / 0.7068 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007094/0.7597, allocations: 47.94 kB / 0.7068 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.7615, allocations: 55.98 kB / 0.7069 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/0.762, allocations: 197.6 kB / 0.707 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/0.7622, allocations: 99.91 kB / 0.7071 GB, free: 8.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00251/0.7647, allocations: 2.338 MB / 0.7094 GB, free: 6.234 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7647, allocations: 0 / 0.7094 GB, free: 6.234 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006325/0.771, allocations: 2.118 MB / 0.7115 GB, free: 4.137 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.004819/0.7759, allocations: 2.275 MB / 0.7137 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006432/0.7823, allocations: 3.618 MB / 0.7172 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7823, allocations: 0 / 0.7172 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003348/0.7857, allocations: 1.77 MB / 0.719 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/0.7892, allocations: 0.4986 MB / 0.7195 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.7999, allocations: 5.291 MB / 0.7246 GB, free: 6.754 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/0.8019, allocations: 1.717 MB / 0.7263 GB, free: 5.012 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/0.8036, allocations: 0.521 MB / 0.7268 GB, free: 4.488 MB / 478.1 MB Notification: Performance of SimCode: time 1.422e-06/0.8036, allocations: 4 kB / 0.7268 GB, free: 4.484 MB / 478.1 MB Notification: Performance of Templates: time 0.4036/1.207, allocations: 122 MB / 0.846 GB, free: 186.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.131206769961864] Failed to read output from testmodel.py, exit status != 0: 1.4007178549654782 1.224894269 0.936468091 Calling exit ...