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.001461/0.001461, allocations: 104.3 kB / 19.7 MB, free: 2.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.001513/0.001513, allocations: 221 kB / 23 MB, free: 4.918 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.1432/0.1432, allocations: 23.99 MB / 337.2 MB, free: 10.88 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.002258/0.002258, allocations: 67.91 kB / 472.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3308, allocations: 59.9 MB / 0.52 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01332/0.3441, allocations: 12.93 MB / 0.5326 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06314/0.4072, allocations: 43.18 MB / 0.5747 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.4106, allocations: 51.56 kB / 0.5748 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.4145, allocations: 0.9908 MB / 0.5758 GB, free: 324 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.4268, allocations: 3.437 MB / 0.5791 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02227/0.449, allocations: 7.079 MB / 0.586 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007915/0.457, allocations: 4.486 MB / 0.5904 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/0.4603, allocations: 1.886 MB / 0.5923 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/0.4641, allocations: 2.104 MB / 0.5943 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.4683, allocations: 2.074 MB / 0.5963 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.4696, allocations: 384 kB / 0.5967 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/0.4866, allocations: 5.23 MB / 0.6018 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.4883, allocations: 0.884 MB / 0.6027 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003191/0.4915, allocations: 1.653 MB / 0.6043 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0261/0.5176, allocations: 10.21 MB / 0.6143 GB, free: 8.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5176, allocations: 0 / 0.6143 GB, free: 8.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5176, allocations: 0 / 0.6143 GB, free: 8.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001677/0.5178, allocations: 4 kB / 0.6143 GB, free: 8.676 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.01117/0.5289, allocations: 4.727 MB / 0.6189 GB, free: 3.891 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.529, allocations: 8.031 kB / 0.6189 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.5335, allocations: 0.9346 MB / 0.6198 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.5373, allocations: 1.551 MB / 0.6213 GB, free: 1.352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.5375, allocations: 230.6 kB / 0.6215 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008481/0.5384, allocations: 328.3 kB / 0.6219 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008875/0.5473, allocations: 4.527 MB / 0.6263 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.5473, allocations: 0 / 0.6263 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.5477, allocations: 128 kB / 0.6264 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/0.5477, allocations: 76 kB / 0.6265 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.5581, allocations: 6.419 MB / 0.6327 GB, free: 5.559 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.02423/0.5824, allocations: 10.45 MB / 0.6429 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007584/0.5899, allocations: 3.727 MB / 0.6466 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/0.5925, allocations: 1.179 MB / 0.6477 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01656/0.6091, allocations: 6.29 MB / 0.6539 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/0.6091, allocations: 56 kB / 0.6539 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.519e-06/0.6091, allocations: 0 / 0.6539 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.0445/0.6536, allocations: 9.403 MB / 0.6631 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6537, allocations: 128.7 kB / 0.6632 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004412/0.6582, allocations: 3.276 MB / 0.6664 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003738/0.6585, allocations: 65.7 kB / 0.6665 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.6599, allocations: 1.66 MB / 0.6681 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.6609, allocations: 0.8289 MB / 0.6689 GB, free: 76 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.662, allocations: 0.6956 MB / 0.6696 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6622, allocations: 309.1 kB / 0.6699 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.6646, allocations: 1.417 MB / 0.6713 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/0.6682, allocations: 2.519 MB / 0.6737 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005699/0.6739, allocations: 3.619 MB / 0.6773 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.542e-05/0.6739, allocations: 12 kB / 0.6773 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01424/0.6881, allocations: 5.035 MB / 0.6822 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.6882, allocations: 20 kB / 0.6822 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.667e-05/0.6883, allocations: 36 kB / 0.6823 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0057/0.6939, allocations: 0.7076 MB / 0.6829 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/0.6975, allocations: 0.8424 MB / 0.6838 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/0.7144, allocations: 10.71 MB / 0.6942 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/0.7172, allocations: 116 kB / 0.6943 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005876/0.7178, allocations: 203.9 kB / 0.6945 GB, free: 4.215 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.001409/0.7192, allocations: 0.5435 MB / 0.6951 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007906/0.72, allocations: 250.5 kB / 0.6953 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.7315, allocations: 3.197 MB / 0.6984 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/0.7315, allocations: 24 kB / 0.6985 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.7315, allocations: 8 kB / 0.6985 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-05/0.7316, allocations: 15.95 kB / 0.6985 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/0.7356, allocations: 1.942 MB / 0.7004 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.7356, allocations: 4 kB / 0.7004 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.7374, allocations: 447.8 kB / 0.7008 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005597/0.743, allocations: 0.6644 MB / 0.7014 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003717/0.7434, allocations: 83.95 kB / 0.7015 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.7592, allocations: 10.44 MB / 0.7117 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.7592, allocations: 7.938 kB / 0.7117 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/0.7718, allocations: 4.133 MB / 0.7158 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007917/0.7726, allocations: 238.2 kB / 0.716 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/0.7732, allocations: 48 kB / 0.716 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.7748, allocations: 56 kB / 0.7161 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004904/0.7753, allocations: 205.5 kB / 0.7163 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/0.7755, allocations: 95.97 kB / 0.7164 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002998/0.7785, allocations: 2.267 MB / 0.7186 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7785, allocations: 0 / 0.7186 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006913/0.7854, allocations: 2.119 MB / 0.7207 GB, free: 8.598 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.005238/0.7906, allocations: 2.296 MB / 0.7229 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007238/0.7979, allocations: 3.642 MB / 0.7265 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.7979, allocations: 4 kB / 0.7265 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003335/0.8012, allocations: 1.766 MB / 0.7282 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/0.8041, allocations: 494.3 kB / 0.7287 GB, free: 256 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2218/1.026, allocations: 5.288 MB / 0.7338 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.027, allocations: 1.164 MB / 0.735 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.029, allocations: 0.5155 MB / 0.7355 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/1.029, allocations: 0 / 0.7355 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.1105/1.139, allocations: 124.1 MB / 0.8567 GB, free: 69.84 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.223685414064676] Failed to read output from testmodel.py, exit status != 0: 1.1494724149815738 1.158239637 0.637972612 Calling exit ...