Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001322/0.001322, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00148/0.00148, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.141/0.141, allocations: 23.92 MB / 337.1 MB, free: 10.92 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002006/0.002006, allocations: 67.89 kB / 472.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3186, allocations: 59.87 MB / 0.5198 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01247/0.331, allocations: 12.93 MB / 0.5325 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05852/0.3895, allocations: 43.18 MB / 0.5746 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003842/0.3934, allocations: 47.62 kB / 0.5747 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004077/0.3975, allocations: 0.9947 MB / 0.5756 GB, free: 380 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01379/0.4113, allocations: 3.441 MB / 0.579 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02321/0.4345, allocations: 7.071 MB / 0.5859 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007444/0.4419, allocations: 4.495 MB / 0.5903 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/0.4451, allocations: 1.925 MB / 0.5922 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/0.449, allocations: 2.104 MB / 0.5942 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004285/0.4533, allocations: 2.312 MB / 0.5965 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.4545, allocations: 384 kB / 0.5968 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02012/0.4746, allocations: 5.374 MB / 0.6021 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.4762, allocations: 0.8878 MB / 0.603 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003385/0.4796, allocations: 1.65 MB / 0.6046 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02715/0.5068, allocations: 10.21 MB / 0.6145 GB, free: 8.309 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5068, allocations: 0 / 0.6145 GB, free: 8.309 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5068, allocations: 0 / 0.6145 GB, free: 8.309 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001425/0.5069, allocations: 4 kB / 0.6146 GB, free: 8.305 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.01104/0.5179, allocations: 4.721 MB / 0.6192 GB, free: 3.523 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.518, allocations: 12.03 kB / 0.6192 GB, free: 3.512 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/0.5228, allocations: 0.9346 MB / 0.6201 GB, free: 2.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/0.5269, allocations: 1.555 MB / 0.6216 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.5271, allocations: 230.6 kB / 0.6218 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006973/0.5278, allocations: 324.3 kB / 0.6221 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008259/0.5361, allocations: 4.527 MB / 0.6266 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.877e-05/0.5361, allocations: 3.984 kB / 0.6266 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.5364, allocations: 131.9 kB / 0.6267 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.5365, allocations: 76 kB / 0.6268 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.5466, allocations: 6.411 MB / 0.633 GB, free: 5.191 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.02287/0.5694, allocations: 10.46 MB / 0.6432 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007423/0.5769, allocations: 3.726 MB / 0.6469 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.5792, allocations: 1.179 MB / 0.648 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.016/0.5952, allocations: 6.29 MB / 0.6542 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.5953, allocations: 56 kB / 0.6542 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.087e-06/0.5953, allocations: 0 / 0.6542 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04874/0.644, allocations: 9.407 MB / 0.6634 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6441, allocations: 128.7 kB / 0.6635 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004376/0.6485, allocations: 3.276 MB / 0.6667 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003688/0.6488, allocations: 65.7 kB / 0.6668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.6502, allocations: 1.652 MB / 0.6684 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009918/0.6512, allocations: 0.8367 MB / 0.6692 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.6523, allocations: 0.6878 MB / 0.6699 GB, free: 15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6524, allocations: 309.1 kB / 0.6702 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.6547, allocations: 1.417 MB / 0.6716 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/0.658, allocations: 2.523 MB / 0.674 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005159/0.6632, allocations: 3.619 MB / 0.6776 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.6632, allocations: 12 kB / 0.6776 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01352/0.6767, allocations: 5.027 MB / 0.6825 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.6768, allocations: 23.98 kB / 0.6825 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.959e-05/0.6768, allocations: 36 kB / 0.6825 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006289/0.6831, allocations: 0.7037 MB / 0.6832 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.6863, allocations: 0.8463 MB / 0.6841 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/0.7035, allocations: 10.72 MB / 0.6945 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/0.7071, allocations: 116 kB / 0.6946 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007127/0.7078, allocations: 199.9 kB / 0.6948 GB, free: 3.836 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.001413/0.7092, allocations: 0.5358 MB / 0.6953 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000782/0.71, allocations: 254.3 kB / 0.6956 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.7218, allocations: 3.193 MB / 0.6987 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/0.7218, allocations: 27.98 kB / 0.6987 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.7218, allocations: 7.938 kB / 0.6987 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-05/0.7218, allocations: 11.97 kB / 0.6988 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.7257, allocations: 1.934 MB / 0.7006 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.7257, allocations: 4 kB / 0.7006 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.7274, allocations: 451.8 kB / 0.7011 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006155/0.7336, allocations: 0.6683 MB / 0.7017 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002663/0.7339, allocations: 87.89 kB / 0.7018 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/0.7492, allocations: 10.43 MB / 0.712 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.7492, allocations: 7.938 kB / 0.712 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.7617, allocations: 4.141 MB / 0.7161 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.7624, allocations: 234.2 kB / 0.7163 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/0.7628, allocations: 51.98 kB / 0.7163 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.7642, allocations: 55.98 kB / 0.7164 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/0.7646, allocations: 201.5 kB / 0.7166 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/0.7648, allocations: 99.95 kB / 0.7167 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002745/0.7676, allocations: 2.267 MB / 0.7189 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7676, allocations: 0 / 0.7189 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006752/0.7743, allocations: 2.115 MB / 0.7209 GB, free: 8.234 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.005354/0.7797, allocations: 2.304 MB / 0.7232 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006936/0.7866, allocations: 3.634 MB / 0.7267 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.7866, allocations: 4 kB / 0.7267 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003087/0.7897, allocations: 1.77 MB / 0.7285 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2153/1.005, allocations: 484.9 kB / 0.7289 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/1.013, allocations: 5.23 MB / 0.734 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.014, allocations: 1.16 MB / 0.7352 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002118/1.016, allocations: 0.596 MB / 0.7358 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008755/1.017, allocations: 395.5 kB / 0.7361 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/1.017, allocations: 0 / 0.7361 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.08596/1.103, allocations: 75.09 MB / 0.8095 GB, free: 118.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.113913848996162] Failed to read output from testmodel.py, exit status != 0: 1.1123627759952797 1.121698433 0.612446504 Calling exit ...