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.001299/0.001299, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001306/0.001306, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.472/1.472, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1408/0.1408, allocations: 23.9 MB / 333.4 MB, free: 1.152 MB / 254.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.002184/0.002184, allocations: 68.47 kB / 467.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09482, allocations: 59.85 MB / 0.5147 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.0185/0.1133, allocations: 14.85 MB / 0.5292 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06287/0.1762, allocations: 49.31 MB / 0.5774 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.1784, allocations: 47.62 kB / 0.5774 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.1814, allocations: 1.109 MB / 0.5785 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009736/0.1911, allocations: 3.433 MB / 0.5819 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01838/0.2095, allocations: 6.989 MB / 0.5887 GB, free: 292 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2212/0.4308, allocations: 4.49 MB / 0.5931 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.4332, allocations: 1.909 MB / 0.5949 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.4359, allocations: 2.098 MB / 0.597 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.4389, allocations: 2.323 MB / 0.5993 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006364/0.4395, allocations: 382.6 kB / 0.5996 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/0.4552, allocations: 5.593 MB / 0.6051 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.4564, allocations: 0.8811 MB / 0.6059 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.459, allocations: 1.955 MB / 0.6078 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.4782, allocations: 10.25 MB / 0.6179 GB, free: 4.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4782, allocations: 2.312 kB / 0.6179 GB, free: 4.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4782, allocations: 0 / 0.6179 GB, free: 4.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.004e-05/0.4783, allocations: 0 / 0.6179 GB, free: 4.734 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.008634/0.487, allocations: 4.808 MB / 0.6226 GB, free: 2.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.487, allocations: 13.25 kB / 0.6226 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004014/0.491, allocations: 0.9392 MB / 0.6235 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.4933, allocations: 1.629 MB / 0.6251 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.4934, allocations: 232 kB / 0.6253 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004863/0.4939, allocations: 323.9 kB / 0.6256 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007405/0.5013, allocations: 4.548 MB / 0.63 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.5014, allocations: 7.594 kB / 0.6301 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.5018, allocations: 123.5 kB / 0.6302 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.5018, allocations: 77.5 kB / 0.6302 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009471/0.5113, allocations: 6.366 MB / 0.6365 GB, free: 10.98 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.02266/0.5339, allocations: 12.67 MB / 0.6488 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007772/0.5417, allocations: 4.462 MB / 0.6532 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.5438, allocations: 1.179 MB / 0.6543 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/0.5631, allocations: 12.2 MB / 0.6663 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.5632, allocations: 56.23 kB / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=182): time 3.386e-06/0.5632, allocations: 0 / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.04539/0.6086, allocations: 9.88 MB / 0.676 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/0.6087, allocations: 128.8 kB / 0.6761 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004472/0.6131, allocations: 3.311 MB / 0.6793 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.6134, allocations: 69.27 kB / 0.6794 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.6146, allocations: 1.641 MB / 0.681 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008564/0.6155, allocations: 0.8311 MB / 0.6818 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.6167, allocations: 0.6878 MB / 0.6825 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6168, allocations: 309.1 kB / 0.6828 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/0.6192, allocations: 1.385 MB / 0.6841 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/0.6227, allocations: 2.485 MB / 0.6865 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005384/0.6281, allocations: 3.582 MB / 0.69 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/0.6281, allocations: 12 kB / 0.69 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01356/0.6417, allocations: 4.973 MB / 0.6949 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.6417, allocations: 26.53 kB / 0.6949 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.634e-05/0.6417, allocations: 36 kB / 0.695 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005837/0.6476, allocations: 0.7144 MB / 0.6957 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/0.6506, allocations: 0.8356 MB / 0.6965 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.6685, allocations: 11.56 MB / 0.7078 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.6715, allocations: 120 kB / 0.7079 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/0.6718, allocations: 199.9 kB / 0.7081 GB, free: 14.59 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.001261/0.6731, allocations: 0.5443 MB / 0.7086 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006426/0.6737, allocations: 270.2 kB / 0.7089 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.6852, allocations: 3.213 MB / 0.712 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.6852, allocations: 28 kB / 0.712 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.6852, allocations: 4 kB / 0.712 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.6852, allocations: 11.95 kB / 0.712 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.6896, allocations: 2.603 MB / 0.7146 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.6896, allocations: 4 kB / 0.7146 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.6914, allocations: 445.2 kB / 0.715 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005758/0.6972, allocations: 0.6679 MB / 0.7157 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.6974, allocations: 83.95 kB / 0.7157 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.7142, allocations: 11.29 MB / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7142, allocations: 4 kB / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.7267, allocations: 4.162 MB / 0.7308 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008173/0.7275, allocations: 331.4 kB / 0.7311 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/0.728, allocations: 55.86 kB / 0.7312 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.7294, allocations: 52 kB / 0.7313 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004958/0.7299, allocations: 197.4 kB / 0.7314 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/0.7301, allocations: 95.95 kB / 0.7315 GB, free: 5.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003121/0.7332, allocations: 2.346 MB / 0.7338 GB, free: 3.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7332, allocations: 0 / 0.7338 GB, free: 3.375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006355/0.7396, allocations: 2.111 MB / 0.7359 GB, free: 1.258 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.004818/0.7444, allocations: 2.3 MB / 0.7381 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006717/0.7511, allocations: 3.615 MB / 0.7417 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7511, allocations: 0 / 0.7417 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003085/0.7542, allocations: 1.765 MB / 0.7434 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.7571, allocations: 0.5136 MB / 0.7439 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009359/0.7665, allocations: 5.285 MB / 0.749 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.768, allocations: 1.714 MB / 0.7507 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/0.7694, allocations: 0.5174 MB / 0.7512 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.7694, allocations: 0 / 0.7512 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of Templates: time 0.3352/1.105, allocations: 123.5 MB / 0.8718 GB, free: 202.2 MB / 0.6231 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.87064656498842] Failed to read output from testmodel.py, exit status != 0: 1.1121434459928423 1.121408449 0.6407959449999999 Calling exit ...