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.002001/0.002001, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002313/0.002313, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.1369/0.1369, allocations: 17.45 MB / 276.6 MB, free: 15.23 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 412.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.911e-05, allocations: 2.281 kB / 412.1 MB, free: 4.316 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1842:5-1842: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:1842:5-1842: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:1731:7-1731: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:1731:7-1731: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.04392/0.04395, allocations: 29.42 MB / 441.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4052/0.4492, allocations: 130.8 MB / 0.5589 GB, free: 8.617 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.452, allocations: 63.5 kB / 0.5589 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.4566, allocations: 1.06 MB / 0.56 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.4619, allocations: 1.175 MB / 0.5611 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005371/0.4673, allocations: 1.633 MB / 0.5627 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00504/0.4723, allocations: 2.574 MB / 0.5652 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008794/0.4732, allocations: 423.5 kB / 0.5656 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.4755, allocations: 1.329 MB / 0.5669 GB, free: 308 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.4772, allocations: 0.9468 MB / 0.5679 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.4775, allocations: 204 kB / 0.5681 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.4817, allocations: 1.384 MB / 0.5694 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007468/0.4824, allocations: 0.693 MB / 0.5701 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.4837, allocations: 0.7519 MB / 0.5708 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007531/0.4912, allocations: 4.183 MB / 0.5749 GB, free: 8.121 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4912, allocations: 0 / 0.5749 GB, free: 8.121 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4912, allocations: 0 / 0.5749 GB, free: 8.121 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.034e-05/0.4913, allocations: 0 / 0.5749 GB, free: 8.121 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: 622 * Number of variables: 622 Notification: Performance of Generate backend data structure: time 0.005117/0.4964, allocations: 2.712 MB / 0.5776 GB, free: 5.363 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4964, allocations: 12.03 kB / 0.5776 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.4983, allocations: 0.529 MB / 0.5781 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.5005, allocations: 1.322 MB / 0.5794 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/0.5008, allocations: 276.3 kB / 0.5796 GB, free: 3.164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.5011, allocations: 196.3 kB / 0.5798 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009307/0.5104, allocations: 7.218 MB / 0.5869 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.5104, allocations: 4.188 kB / 0.5869 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.5106, allocations: 84.36 kB / 0.587 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004162/0.511, allocations: 328.6 kB / 0.5873 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.5273, allocations: 12.92 MB / 0.5999 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.5488, allocations: 12.18 MB / 0.6118 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.5523, allocations: 1.852 MB / 0.6136 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.5544, allocations: 1.214 MB / 0.6148 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01295/0.5673, allocations: 6.408 MB / 0.621 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.5674, allocations: 39.22 kB / 0.6211 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=80): time 3.406e-06/0.5674, allocations: 0 / 0.6211 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95): time 0.2863/0.8536, allocations: 8.622 MB / 0.6295 GB, free: 61.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.8537, allocations: 67.91 kB / 0.6296 GB, free: 61.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.8555, allocations: 1.168 MB / 0.6307 GB, free: 61.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003421/0.8558, allocations: 39.61 kB / 0.6307 GB, free: 61.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.8569, allocations: 1.19 MB / 0.6319 GB, free: 61.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/0.8574, allocations: 346 kB / 0.6322 GB, free: 61.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007801/0.8581, allocations: 362 kB / 0.6326 GB, free: 61.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.8582, allocations: 352.8 kB / 0.6329 GB, free: 60.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.8606, allocations: 1.295 MB / 0.6342 GB, free: 60.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/0.8632, allocations: 1.746 MB / 0.6359 GB, free: 60.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/0.8685, allocations: 3.132 MB / 0.6389 GB, free: 59.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.8685, allocations: 5.781 kB / 0.6389 GB, free: 59.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.007347/0.8758, allocations: 3.515 MB / 0.6424 GB, free: 59.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.8759, allocations: 17.8 kB / 0.6424 GB, free: 59.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/0.8759, allocations: 15.19 kB / 0.6424 GB, free: 59.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/0.8765, allocations: 189.9 kB / 0.6426 GB, free: 59.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009005/0.8855, allocations: 0.8672 MB / 0.6434 GB, free: 59.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005085/0.8906, allocations: 5.609 MB / 0.6489 GB, free: 54.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/0.8928, allocations: 66.36 kB / 0.649 GB, free: 54.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/0.8932, allocations: 228.2 kB / 0.6492 GB, free: 54.64 MB / 0.4981 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.001725/0.895, allocations: 0.6511 MB / 0.6498 GB, free: 54.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.8954, allocations: 159.6 kB / 0.65 GB, free: 54.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005734/0.9011, allocations: 2.561 MB / 0.6525 GB, free: 54.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.9012, allocations: 10.06 kB / 0.6525 GB, free: 54.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9012, allocations: 3.328 kB / 0.6525 GB, free: 54.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.9012, allocations: 10.66 kB / 0.6525 GB, free: 54.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006399/0.9076, allocations: 3.028 MB / 0.6555 GB, free: 53.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/0.9076, allocations: 10.3 kB / 0.6555 GB, free: 53.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007686/0.9153, allocations: 0.5963 MB / 0.6561 GB, free: 53.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.9157, allocations: 151.3 kB / 0.6562 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.024e-05/0.9158, allocations: 26.77 kB / 0.6562 GB, free: 53.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.9201, allocations: 5.635 MB / 0.6617 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9201, allocations: 5.812 kB / 0.6617 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.9244, allocations: 1.704 MB / 0.6634 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.9247, allocations: 116 kB / 0.6635 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.925, allocations: 28.81 kB / 0.6635 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/0.9258, allocations: 41.86 kB / 0.6636 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.926, allocations: 72.81 kB / 0.6636 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.926, allocations: 32.48 kB / 0.6637 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002071/0.9281, allocations: 1.837 MB / 0.6655 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.9281, allocations: 0.5 kB / 0.6655 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002172/0.9303, allocations: 0.5505 MB / 0.666 GB, free: 48.11 MB / 0.4981 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.0007063/0.931, allocations: 414.8 kB / 0.6664 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006426/0.9374, allocations: 2.268 MB / 0.6686 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.9374, allocations: 0.625 kB / 0.6686 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003878/0.9413, allocations: 0.9381 MB / 0.6695 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.9431, allocations: 339.5 kB / 0.6699 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.9495, allocations: 3.854 MB / 0.6736 GB, free: 45.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.9506, allocations: 1.091 MB / 0.6747 GB, free: 45.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0017/0.9523, allocations: 0.5298 MB / 0.6752 GB, free: 45.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007566/0.953, allocations: 220.8 kB / 0.6754 GB, free: 45.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.964e-06/0.953, allocations: 1.094 kB / 0.6754 GB, free: 45.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.04992/1.003, allocations: 37.27 MB / 0.7118 GB, free: 19.98 MB / 0.4981 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: 6.605928353965282] Failed to read output from testmodel.py, exit status != 0: 1.01165721565485 1.021298121 0.527325905 Calling exit ...