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.001236/0.001236, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001357/0.001357, allocations: 159.6 kB / 23.01 MB, free: 4.594 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.366/1.366, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 179] 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.1239/0.1239, allocations: 17.45 MB / 277.2 MB, free: 15.21 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.001993/0.001993, allocations: 71.88 kB / 412.6 MB, free: 5.574 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 59.86 MB / 472.5 MB, free: 9.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.2116/0.3157, allocations: 12.92 MB / 485.4 MB, free: 43.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03624/0.352, allocations: 43.19 MB / 0.5162 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.3544, allocations: 52.41 kB / 0.5162 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.3567, allocations: 0.999 MB / 0.5172 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00855/0.3653, allocations: 3.435 MB / 0.5205 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01665/0.3819, allocations: 7.074 MB / 0.5275 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005284/0.3872, allocations: 4.496 MB / 0.5318 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.3895, allocations: 1.878 MB / 0.5337 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.3921, allocations: 2.1 MB / 0.5357 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.3955, allocations: 2.076 MB / 0.5378 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007248/0.3963, allocations: 381.5 kB / 0.5381 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/0.4102, allocations: 5.233 MB / 0.5432 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.4115, allocations: 0.8848 MB / 0.5441 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002429/0.4139, allocations: 1.658 MB / 0.5457 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02222/0.4361, allocations: 10.22 MB / 0.5557 GB, free: 13.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.4361, allocations: 0 / 0.5557 GB, free: 13.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4361, allocations: 0 / 0.5557 GB, free: 13.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.977e-05/0.4362, allocations: 0 / 0.5557 GB, free: 13.54 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.01043/0.4467, allocations: 4.717 MB / 0.5603 GB, free: 9.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4467, allocations: 8.031 kB / 0.5603 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/0.4513, allocations: 0.9416 MB / 0.5612 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.4547, allocations: 1.55 MB / 0.5627 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.4549, allocations: 234.6 kB / 0.563 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005158/0.4554, allocations: 320.2 kB / 0.5633 GB, free: 6.445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007153/0.4626, allocations: 4.531 MB / 0.5677 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-05/0.4626, allocations: 0 / 0.5677 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.4629, allocations: 130.5 kB / 0.5678 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-05/0.463, allocations: 75.94 kB / 0.5679 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009356/0.4723, allocations: 6.423 MB / 0.5742 GB, free: 11.19 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.02074/0.4931, allocations: 10.46 MB / 0.5844 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007023/0.5001, allocations: 3.712 MB / 0.588 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.5022, allocations: 1.168 MB / 0.5891 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01562/0.5178, allocations: 6.301 MB / 0.5953 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.5178, allocations: 52.06 kB / 0.5953 GB, free: 5.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=182): time 4.789e-06/0.5178, allocations: 0 / 0.5953 GB, free: 5.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.04529/0.5631, allocations: 9.415 MB / 0.6045 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5632, allocations: 124.8 kB / 0.6047 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004523/0.5677, allocations: 3.276 MB / 0.6079 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.5681, allocations: 61.7 kB / 0.6079 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.5694, allocations: 1.656 MB / 0.6095 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.5705, allocations: 0.8406 MB / 0.6104 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/0.5719, allocations: 0.6917 MB / 0.611 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.572, allocations: 309 kB / 0.6113 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/0.5744, allocations: 1.413 MB / 0.6127 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/0.5779, allocations: 2.523 MB / 0.6152 GB, free: 304 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00563/0.5835, allocations: 3.619 MB / 0.6187 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/0.5835, allocations: 12 kB / 0.6187 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.014/0.5976, allocations: 5.035 MB / 0.6236 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.5976, allocations: 20 kB / 0.6237 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.909e-05/0.5977, allocations: 36 kB / 0.6237 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005668/0.6033, allocations: 0.7036 MB / 0.6244 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/0.6064, allocations: 0.8425 MB / 0.6252 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.6232, allocations: 10.71 MB / 0.6357 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.6261, allocations: 120 kB / 0.6358 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005896/0.6267, allocations: 191.9 kB / 0.636 GB, free: 9.871 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.6282, allocations: 0.5514 MB / 0.6365 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007832/0.6289, allocations: 250.4 kB / 0.6367 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.6399, allocations: 3.192 MB / 0.6399 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.6399, allocations: 24 kB / 0.6399 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.6399, allocations: 4 kB / 0.6399 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/0.64, allocations: 11.95 kB / 0.6399 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/0.6441, allocations: 1.934 MB / 0.6418 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.6441, allocations: 12.06 kB / 0.6418 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.6458, allocations: 447.4 kB / 0.6422 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/0.6513, allocations: 0.6722 MB / 0.6429 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.6516, allocations: 75.95 kB / 0.6429 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/0.6669, allocations: 10.43 MB / 0.6531 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/0.6669, allocations: 11.91 kB / 0.6531 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/0.679, allocations: 4.14 MB / 0.6572 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007229/0.6798, allocations: 234.2 kB / 0.6574 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/0.6803, allocations: 55.98 kB / 0.6575 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.6819, allocations: 52 kB / 0.6575 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/0.6823, allocations: 209.5 kB / 0.6577 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/0.6825, allocations: 91.97 kB / 0.6578 GB, free: 2.695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002978/0.6855, allocations: 2.267 MB / 0.66 GB, free: 420 kB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6855, allocations: 0 / 0.66 GB, free: 420 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.006725/0.6922, allocations: 2.107 MB / 0.6621 GB, free: 14.3 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.006047/0.6982, allocations: 2.309 MB / 0.6643 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006517/0.7048, allocations: 3.639 MB / 0.6679 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.7048, allocations: 0 / 0.6679 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002925/0.7077, allocations: 1.781 MB / 0.6696 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.7105, allocations: 0.489 MB / 0.6701 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/0.7196, allocations: 5.207 MB / 0.6752 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.7212, allocations: 1.158 MB / 0.6763 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002296/0.7235, allocations: 0.5887 MB / 0.6769 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009649/0.7244, allocations: 403.2 kB / 0.6773 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.7244, allocations: 4 kB / 0.6773 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.2913/1.016, allocations: 69.87 MB / 0.7455 GB, free: 152.6 MB / 0.5762 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 ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.739053182071075] Failed to read output from testmodel.py, exit status != 0: 1.0242026019841433 1.033438514 0.594939393 Calling exit ...