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.001259/0.001259, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001356/0.001356, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.1603/0.1603, allocations: 23.86 MB / 333.4 MB, free: 1.199 MB / 254.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.001993/0.001993, allocations: 66.75 kB / 467.2 MB, free: 30.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 59.83 MB / 0.5146 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.0172/0.1425, allocations: 14.86 MB / 0.5291 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06379/0.2063, allocations: 49.31 MB / 0.5773 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003346/0.2097, allocations: 47.62 kB / 0.5773 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.2133, allocations: 1.109 MB / 0.5784 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.2263, allocations: 3.441 MB / 0.5818 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02325/0.2495, allocations: 6.993 MB / 0.5886 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3006/0.5501, allocations: 4.486 MB / 0.593 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003536/0.5536, allocations: 1.907 MB / 0.5949 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.5582, allocations: 2.102 MB / 0.5969 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005796/0.564, allocations: 2.314 MB / 0.5992 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.5653, allocations: 382.8 kB / 0.5995 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02126/0.5865, allocations: 5.59 MB / 0.605 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.5888, allocations: 0.8815 MB / 0.6059 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003906/0.5927, allocations: 1.958 MB / 0.6078 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02326/0.6159, allocations: 10.25 MB / 0.6178 GB, free: 4.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.6159, allocations: 0 / 0.6178 GB, free: 4.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6159, allocations: 0 / 0.6178 GB, free: 4.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000144/0.6161, allocations: 0 / 0.6178 GB, free: 4.816 MB / 446.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.01001/0.6261, allocations: 4.819 MB / 0.6225 GB, free: 2.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6261, allocations: 6.594 kB / 0.6225 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.6302, allocations: 0.9353 MB / 0.6234 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.6328, allocations: 1.625 MB / 0.625 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.6329, allocations: 239.4 kB / 0.6252 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000493/0.6334, allocations: 322.2 kB / 0.6255 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00742/0.6408, allocations: 4.519 MB / 0.6299 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.6409, allocations: 4.75 kB / 0.6299 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.6412, allocations: 126.4 kB / 0.6301 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/0.6413, allocations: 74.59 kB / 0.6301 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.6518, allocations: 6.367 MB / 0.6364 GB, free: 11.01 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.0258/0.6776, allocations: 12.67 MB / 0.6487 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008283/0.6859, allocations: 4.456 MB / 0.6531 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.6885, allocations: 1.179 MB / 0.6542 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0204/0.7089, allocations: 12.21 MB / 0.6662 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.709, allocations: 55.53 kB / 0.6662 GB, free: 10.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=182): time 3.808e-06/0.709, allocations: 0 / 0.6662 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.04672/0.7557, allocations: 9.88 MB / 0.6759 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.7558, allocations: 128.8 kB / 0.676 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/0.7604, allocations: 3.311 MB / 0.6792 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003478/0.7608, allocations: 65.7 kB / 0.6793 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.7621, allocations: 1.642 MB / 0.6809 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009054/0.763, allocations: 0.8339 MB / 0.6817 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.7641, allocations: 0.6878 MB / 0.6824 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7643, allocations: 305.1 kB / 0.6827 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.7666, allocations: 1.385 MB / 0.684 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/0.7701, allocations: 2.485 MB / 0.6864 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005556/0.7756, allocations: 3.586 MB / 0.6899 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.809e-05/0.7756, allocations: 12 kB / 0.6899 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01404/0.7897, allocations: 4.973 MB / 0.6948 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.7897, allocations: 23.98 kB / 0.6948 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-05/0.7898, allocations: 36 kB / 0.6949 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005915/0.7957, allocations: 0.7066 MB / 0.6956 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.7991, allocations: 0.8438 MB / 0.6964 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.817, allocations: 11.55 MB / 0.7077 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/0.8203, allocations: 124 kB / 0.7078 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005012/0.8208, allocations: 195.9 kB / 0.708 GB, free: 14.62 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.001437/0.8223, allocations: 0.5485 MB / 0.7085 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007557/0.823, allocations: 270.2 kB / 0.7088 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.8345, allocations: 3.215 MB / 0.7119 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/0.8346, allocations: 24 kB / 0.7119 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/0.8346, allocations: 4 kB / 0.7119 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.241e-05/0.8346, allocations: 11.95 kB / 0.7119 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.8398, allocations: 2.604 MB / 0.7145 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.8398, allocations: 4 kB / 0.7145 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/0.8417, allocations: 452.4 kB / 0.7149 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005772/0.8474, allocations: 0.6641 MB / 0.7156 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003991/0.8478, allocations: 83.95 kB / 0.7156 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.8647, allocations: 11.29 MB / 0.7267 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.8647, allocations: 7.375 kB / 0.7267 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/0.8779, allocations: 4.158 MB / 0.7307 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009796/0.8788, allocations: 335.3 kB / 0.731 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005185/0.8794, allocations: 55.88 kB / 0.7311 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.8809, allocations: 52 kB / 0.7312 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/0.8814, allocations: 193.1 kB / 0.7313 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/0.8816, allocations: 95.95 kB / 0.7314 GB, free: 5.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003214/0.8849, allocations: 2.346 MB / 0.7337 GB, free: 3.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8849, allocations: 0 / 0.7337 GB, free: 3.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008139/0.893, allocations: 2.111 MB / 0.7358 GB, free: 1.293 MB / 0.545 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.006372/0.8994, allocations: 2.303 MB / 0.738 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007714/0.9071, allocations: 3.611 MB / 0.7416 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.9071, allocations: 0 / 0.7416 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003447/0.9105, allocations: 1.775 MB / 0.7433 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.9138, allocations: 0.5016 MB / 0.7438 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.9243, allocations: 5.29 MB / 0.7489 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.9259, allocations: 1.714 MB / 0.7506 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/0.9276, allocations: 0.5213 MB / 0.7511 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/0.9276, allocations: 4 kB / 0.7511 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.3958/1.323, allocations: 123.5 MB / 0.8717 GB, free: 202.2 MB / 0.6231 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.919325150025543] Failed to read output from testmodel.py, exit status != 0: 1.3315921319881454 1.340194795 0.721865795 Calling exit ...