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.001337/0.001337, 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.001445/0.001445, allocations: 212.4 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1287/0.1287, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.002029/0.002029, allocations: 71.91 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 59.89 MB / 0.5198 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01256/0.3094, allocations: 12.92 MB / 0.5325 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05569/0.3651, allocations: 43.18 MB / 0.5746 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.3679, allocations: 43.62 kB / 0.5747 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.3712, allocations: 0.9986 MB / 0.5756 GB, free: 412 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.3824, allocations: 3.437 MB / 0.579 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01961/0.402, allocations: 7.075 MB / 0.5859 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006698/0.4087, allocations: 4.502 MB / 0.5903 GB, free: 1.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/0.4113, allocations: 1.925 MB / 0.5922 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.4143, allocations: 2.104 MB / 0.5942 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.4177, allocations: 2.312 MB / 0.5965 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000787/0.4185, allocations: 384 kB / 0.5969 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/0.4332, allocations: 5.37 MB / 0.6021 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.4345, allocations: 0.8879 MB / 0.603 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002332/0.4368, allocations: 1.653 MB / 0.6046 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02294/0.4597, allocations: 10.21 MB / 0.6146 GB, free: 8.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4598, allocations: 0 / 0.6146 GB, free: 8.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4598, allocations: 0 / 0.6146 GB, free: 8.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001018/0.4599, allocations: 0 / 0.6146 GB, free: 8.34 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.009629/0.4695, allocations: 4.733 MB / 0.6192 GB, free: 3.547 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4695, allocations: 8.031 kB / 0.6192 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004179/0.4737, allocations: 0.9307 MB / 0.6201 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/0.4768, allocations: 1.551 MB / 0.6216 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.477, allocations: 242.6 kB / 0.6218 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005919/0.4776, allocations: 316.3 kB / 0.6221 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00732/0.4849, allocations: 4.531 MB / 0.6266 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.755e-05/0.485, allocations: 0 / 0.6266 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.4853, allocations: 124 kB / 0.6267 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/0.4854, allocations: 76 kB / 0.6268 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009517/0.4949, allocations: 6.419 MB / 0.633 GB, free: 5.219 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.02091/0.5158, allocations: 10.45 MB / 0.6432 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007134/0.5229, allocations: 3.743 MB / 0.6469 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.5251, allocations: 1.171 MB / 0.648 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/0.5406, allocations: 6.29 MB / 0.6542 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.5406, allocations: 56 kB / 0.6542 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.077e-06/0.5406, allocations: 0 / 0.6542 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.0476/0.5882, allocations: 9.402 MB / 0.6634 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5884, allocations: 132.7 kB / 0.6635 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/0.5926, allocations: 3.28 MB / 0.6667 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.5929, allocations: 61.7 kB / 0.6668 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.5942, allocations: 1.648 MB / 0.6684 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00088/0.595, allocations: 0.8408 MB / 0.6692 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/0.5961, allocations: 0.6839 MB / 0.6699 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5962, allocations: 308.9 kB / 0.6702 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.5984, allocations: 1.42 MB / 0.6716 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/0.6017, allocations: 2.519 MB / 0.674 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005132/0.6068, allocations: 3.619 MB / 0.6776 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.6069, allocations: 11.98 kB / 0.6776 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01382/0.6207, allocations: 5.023 MB / 0.6825 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.6207, allocations: 20 kB / 0.6825 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-05/0.6208, allocations: 36 kB / 0.6825 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006294/0.6271, allocations: 0.7192 MB / 0.6832 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.63, allocations: 0.8425 MB / 0.6841 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.6467, allocations: 10.71 MB / 0.6945 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/0.6494, allocations: 124 kB / 0.6946 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004009/0.6498, allocations: 195.9 kB / 0.6948 GB, free: 3.863 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.001125/0.651, allocations: 0.5397 MB / 0.6954 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/0.6516, allocations: 250.4 kB / 0.6956 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.6632, allocations: 3.205 MB / 0.6987 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.6632, allocations: 24 kB / 0.6987 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6632, allocations: 0 / 0.6987 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/0.6632, allocations: 19.89 kB / 0.6988 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.6666, allocations: 1.93 MB / 0.7007 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.6666, allocations: 4 kB / 0.7007 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.6684, allocations: 447.8 kB / 0.7011 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006215/0.6746, allocations: 0.6683 MB / 0.7017 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.6748, allocations: 75.97 kB / 0.7018 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.6904, allocations: 10.45 MB / 0.712 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6904, allocations: 4 kB / 0.712 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/0.7028, allocations: 4.144 MB / 0.7161 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/0.7035, allocations: 234.2 kB / 0.7163 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.7039, allocations: 44 kB / 0.7163 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.7054, allocations: 59.98 kB / 0.7164 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/0.7058, allocations: 205.5 kB / 0.7166 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/0.706, allocations: 91.95 kB / 0.7167 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002715/0.7087, allocations: 2.27 MB / 0.7189 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7087, allocations: 0 / 0.7189 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006231/0.715, allocations: 2.107 MB / 0.7209 GB, free: 8.266 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.004651/0.7196, allocations: 2.304 MB / 0.7232 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006431/0.7261, allocations: 3.642 MB / 0.7268 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.7261, allocations: 0 / 0.7268 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/0.7291, allocations: 1.77 MB / 0.7285 GB, free: 400 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1997/0.9288, allocations: 484.6 kB / 0.7289 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008479/0.9373, allocations: 5.222 MB / 0.734 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.9386, allocations: 1.163 MB / 0.7352 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002269/0.9409, allocations: 0.6001 MB / 0.7358 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009973/0.9419, allocations: 391.5 kB / 0.7361 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.9419, allocations: 0.625 kB / 0.7361 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.08168/1.024, allocations: 75.08 MB / 0.8095 GB, free: 119.4 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 gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.808334173998446] Failed to read output from testmodel.py, exit status != 0: 1.0323629299964523 1.040496359 0.578327312 Calling exit ...