Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.GasSolubility_NIST_2.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.001369/0.001369, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001535/0.001535, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1457/0.1457, allocations: 23.99 MB / 337.2 MB, free: 10.84 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.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_2") [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.002113/0.002113, allocations: 71.89 kB / 472.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 59.89 MB / 0.5199 GB, free: 9.742 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1841:5-1841:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1841:5-1841:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1730:7-1730:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1730:7-1730:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_2): time 0.08391/0.4533, allocations: 28.87 MB / 0.5481 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2006/0.6539, allocations: 129.1 MB / 0.6742 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.657, allocations: 39.75 kB / 0.6742 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.6612, allocations: 0.9438 MB / 0.6752 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.6659, allocations: 0.9193 MB / 0.6761 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.6709, allocations: 1.392 MB / 0.6774 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005277/0.6762, allocations: 2.307 MB / 0.6797 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.6773, allocations: 415.6 kB / 0.6801 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.6791, allocations: 0.8408 MB / 0.6809 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.6813, allocations: 0.9762 MB / 0.6818 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000676/0.682, allocations: 212 kB / 0.682 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/0.686, allocations: 1.123 MB / 0.6831 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009641/0.6869, allocations: 0.6151 MB / 0.6837 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.6891, allocations: 0.8895 MB / 0.6846 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008445/0.6975, allocations: 4.001 MB / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6975, allocations: 0 / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.995e-06/0.6975, allocations: 0 / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001399/0.6977, allocations: 4 kB / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 622 * Number of variables: 622 Notification: Performance of Generate backend data structure: time 0.006053/0.7037, allocations: 2.651 MB / 0.6911 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7038, allocations: 12.03 kB / 0.6911 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.7054, allocations: 0.4988 MB / 0.6916 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.7071, allocations: 0.9619 MB / 0.6925 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.7074, allocations: 275.3 kB / 0.6928 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.7077, allocations: 200.3 kB / 0.693 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009089/0.7167, allocations: 7.225 MB / 0.7001 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/0.7168, allocations: 4 kB / 0.7001 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.7169, allocations: 83.92 kB / 0.7001 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003644/0.7173, allocations: 328.6 kB / 0.7004 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.7322, allocations: 12.91 MB / 0.7131 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.7535, allocations: 12.16 MB / 0.7249 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.7569, allocations: 1.854 MB / 0.7267 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.7591, allocations: 1.222 MB / 0.7279 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2686/1.028, allocations: 6.407 MB / 0.7342 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.028, allocations: 40.3 kB / 0.7342 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 3.937e-06/1.028, allocations: 3.219 kB / 0.7342 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.021/1.049, allocations: 8.603 MB / 0.7426 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/1.049, allocations: 62.5 kB / 0.7427 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/1.05, allocations: 1.17 MB / 0.7438 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/1.051, allocations: 41.83 kB / 0.7439 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009557/1.051, allocations: 1.183 MB / 0.745 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/1.052, allocations: 348 kB / 0.7454 GB, free: 183 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006658/1.053, allocations: 372 kB / 0.7457 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/1.053, allocations: 356.9 kB / 0.7461 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/1.055, allocations: 1.293 MB / 0.7473 GB, free: 182 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/1.057, allocations: 1.744 MB / 0.749 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004311/1.061, allocations: 3.134 MB / 0.7521 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/1.061, allocations: 4.438 kB / 0.7521 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00669/1.068, allocations: 3.505 MB / 0.7555 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/1.068, allocations: 10.69 kB / 0.7555 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/1.068, allocations: 15.47 kB / 0.7555 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/1.069, allocations: 188.6 kB / 0.7557 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008061/1.077, allocations: 0.8726 MB / 0.7566 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/1.082, allocations: 5.604 MB / 0.762 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/1.085, allocations: 69.16 kB / 0.7621 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005467/1.085, allocations: 229.3 kB / 0.7623 GB, free: 172.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 2 (CO2_g_25.substanceDefinitionVar.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002004/1.087, allocations: 0.65 MB / 0.763 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/1.088, allocations: 146.8 kB / 0.7631 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005596/1.093, allocations: 2.574 MB / 0.7656 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.093, allocations: 7.188 kB / 0.7656 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.093, allocations: 1.031 kB / 0.7656 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.093, allocations: 10.89 kB / 0.7656 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/1.1, allocations: 3.03 MB / 0.7686 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.1, allocations: 2.562 kB / 0.7686 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006773/1.106, allocations: 0.5954 MB / 0.7692 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/1.107, allocations: 165 kB / 0.7693 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/1.107, allocations: 20.89 kB / 0.7694 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003796/1.111, allocations: 5.642 MB / 0.7749 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.111, allocations: 11.81 kB / 0.7749 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003621/1.114, allocations: 1.687 MB / 0.7765 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/1.115, allocations: 120.2 kB / 0.7766 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002741/1.115, allocations: 26.02 kB / 0.7767 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/1.116, allocations: 46.09 kB / 0.7767 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.116, allocations: 70.81 kB / 0.7768 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/1.116, allocations: 26.58 kB / 0.7768 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001709/1.118, allocations: 1.845 MB / 0.7786 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.118, allocations: 0 / 0.7786 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001938/1.12, allocations: 0.5153 MB / 0.7791 GB, free: 159.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (CO2_dissolutionP.rear.n_flow,CO2_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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005829/1.12, allocations: 398.8 kB / 0.7795 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005416/1.126, allocations: 2.257 MB / 0.7817 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.126, allocations: 0 / 0.7817 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003289/1.129, allocations: 0.9275 MB / 0.7826 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.13, allocations: 331.5 kB / 0.7829 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/1.136, allocations: 4.084 MB / 0.7869 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009547/1.137, allocations: 1.092 MB / 0.788 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009208/1.138, allocations: 233 kB / 0.7882 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/1.138, allocations: 0 / 0.7882 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.05654/1.195, allocations: 75.88 MB / 0.8623 GB, free: 75.28 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_master_Chemical.Examples.GasSolubility_NIST_2.sim & ./Chemical_master_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.679849141743034] Failed to read output from testmodel.py, exit status != 0: 1.2045895620249212 1.218277051 0.518389815 Calling exit ...