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.001389/0.001389, 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.001515/0.001515, allocations: 210.8 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1469/0.1469, allocations: 23.93 MB / 337.1 MB, free: 10.95 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.002027/0.002027, allocations: 63.89 kB / 472.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3931, allocations: 59.88 MB / 0.5198 GB, free: 9.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1816:5-1816: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:1816:5-1816: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:1697:7-1697: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:1697:7-1697: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.07934/0.4724, allocations: 28.56 MB / 0.5477 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1858/0.6582, allocations: 128.8 MB / 0.6735 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.6608, allocations: 39.75 kB / 0.6736 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.6643, allocations: 0.936 MB / 0.6745 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.6678, allocations: 0.9077 MB / 0.6754 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.6717, allocations: 1.338 MB / 0.6767 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004229/0.676, allocations: 2.275 MB / 0.6789 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.6767, allocations: 423.5 kB / 0.6793 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.6777, allocations: 0.8214 MB / 0.6801 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.679, allocations: 1.097 MB / 0.6812 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.6793, allocations: 204 kB / 0.6814 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.682, allocations: 1.088 MB / 0.6824 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005243/0.6826, allocations: 0.6151 MB / 0.683 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008687/0.6834, allocations: 0.8778 MB / 0.6839 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.6887, allocations: 3.939 MB / 0.6877 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6887, allocations: 4 kB / 0.6877 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6887, allocations: 3.938 kB / 0.6877 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.189e-05/0.6887, allocations: 0 / 0.6877 GB, free: 13.35 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.004301/0.693, allocations: 2.627 MB / 0.6903 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6931, allocations: 12.03 kB / 0.6903 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.6947, allocations: 0.5105 MB / 0.6908 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.6963, allocations: 0.9423 MB / 0.6917 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.6965, allocations: 271.2 kB / 0.692 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.6968, allocations: 196.4 kB / 0.6922 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008252/0.7051, allocations: 6.978 MB / 0.699 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.7051, allocations: 3.938 kB / 0.699 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.7053, allocations: 79.98 kB / 0.6991 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003698/0.7056, allocations: 328.6 kB / 0.6994 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.7192, allocations: 12.19 MB / 0.7113 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02015/0.7393, allocations: 11.72 MB / 0.7227 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/0.7427, allocations: 1.806 MB / 0.7245 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.7446, allocations: 1.174 MB / 0.7256 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.7568, allocations: 6.115 MB / 0.7316 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.7568, allocations: 47.16 kB / 0.7317 GB, free: 12 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.444e-06/0.7568, allocations: 0 / 0.7317 GB, free: 12 kB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.3332/1.09, allocations: 8.348 MB / 0.7398 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/1.09, allocations: 61.38 kB / 0.7399 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/1.092, allocations: 1.152 MB / 0.741 GB, free: 186 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/1.092, allocations: 40.08 kB / 0.741 GB, free: 186 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007871/1.093, allocations: 1.171 MB / 0.7422 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/1.093, allocations: 336.6 kB / 0.7425 GB, free: 185 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007003/1.094, allocations: 360.4 kB / 0.7428 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.094, allocations: 352.3 kB / 0.7432 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/1.096, allocations: 1.251 MB / 0.7444 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/1.098, allocations: 1.674 MB / 0.746 GB, free: 183 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/1.103, allocations: 3.01 MB / 0.749 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/1.103, allocations: 4.281 kB / 0.749 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00701/1.11, allocations: 3.389 MB / 0.7523 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/1.11, allocations: 11.92 kB / 0.7523 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/1.11, allocations: 13.69 kB / 0.7523 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/1.11, allocations: 197.9 kB / 0.7525 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008811/1.119, allocations: 0.763 MB / 0.7532 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/1.124, allocations: 5.631 MB / 0.7587 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/1.126, allocations: 57.84 kB / 0.7588 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/1.126, allocations: 234.2 kB / 0.759 GB, free: 174.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (145): * Single equations (assignments): 141 * 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.001472/1.128, allocations: 0.6457 MB / 0.7597 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/1.128, allocations: 137.6 kB / 0.7598 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006433/1.135, allocations: 2.516 MB / 0.7622 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.135, allocations: 7 kB / 0.7623 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/1.135, allocations: 2.656 kB / 0.7623 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.135, allocations: 7.547 kB / 0.7623 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006953/1.142, allocations: 3.016 MB / 0.7652 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.142, allocations: 3.938 kB / 0.7652 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007671/1.149, allocations: 0.4946 MB / 0.7657 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005219/1.15, allocations: 160 kB / 0.7658 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.095e-05/1.15, allocations: 32.69 kB / 0.7659 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004369/1.154, allocations: 5.659 MB / 0.7714 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.154, allocations: 7.125 kB / 0.7714 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/1.159, allocations: 1.657 MB / 0.773 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/1.159, allocations: 112.2 kB / 0.7731 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/1.159, allocations: 22.38 kB / 0.7732 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008382/1.16, allocations: 46.11 kB / 0.7732 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/1.16, allocations: 71.06 kB / 0.7733 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/1.161, allocations: 26.95 kB / 0.7733 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001964/1.162, allocations: 1.769 MB / 0.775 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.162, allocations: 2.656 kB / 0.775 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002327/1.165, allocations: 0.5009 MB / 0.7755 GB, free: 163.3 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.0007315/1.166, allocations: 388.9 kB / 0.7759 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006116/1.172, allocations: 2.206 MB / 0.778 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.172, allocations: 2.906 kB / 0.778 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003846/1.175, allocations: 0.9366 MB / 0.779 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/1.177, allocations: 329.7 kB / 0.7793 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/1.184, allocations: 3.867 MB / 0.783 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/1.185, allocations: 1.087 MB / 0.7841 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00172/1.186, allocations: 486.9 kB / 0.7846 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/1.187, allocations: 201.9 kB / 0.7848 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.184e-06/1.187, allocations: 0 / 0.7848 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.05066/1.238, allocations: 39.07 MB / 0.8229 GB, free: 116.2 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.822686986997724] Failed to read output from testmodel.py, exit status != 0: 1.2467662089911755 1.256686848 0.5656120179999999 Calling exit ...