Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001561/0.001561, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001891/0.001891, allocations: 156.8 kB / 23.01 MB, free: 4.598 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.353/1.353, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1237/0.1237, allocations: 17.36 MB / 277.1 MB, free: 15.27 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.001914/0.001914, allocations: 67.17 kB / 412.4 MB, free: 5.738 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 59.85 MB / 472.3 MB, free: 9.773 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819: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 2.0.0/Interfaces.mo:1819:5-1819: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 2.0.0/Boundaries.mo:1328:7-1328: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 2.0.0/Boundaries.mo:1328:7-1328: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.2663/0.3767, allocations: 28.67 MB / 0.4892 GB, free: 38.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1396/0.5163, allocations: 128.8 MB / 0.615 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.5178, allocations: 23.88 kB / 0.615 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.5215, allocations: 0.9905 MB / 0.616 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.5238, allocations: 0.8766 MB / 0.6169 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.527, allocations: 1.33 MB / 0.6182 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.5301, allocations: 2.299 MB / 0.6204 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.5308, allocations: 423.5 kB / 0.6208 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008081/0.5316, allocations: 0.7901 MB / 0.6216 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.5326, allocations: 0.8085 MB / 0.6224 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.5328, allocations: 216 kB / 0.6226 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.5354, allocations: 1.147 MB / 0.6237 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.5359, allocations: 0.658 MB / 0.6243 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008852/0.5368, allocations: 0.9091 MB / 0.6252 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005139/0.542, allocations: 4.106 MB / 0.6292 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.542, allocations: 0 / 0.6292 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.294e-06/0.542, allocations: 0 / 0.6292 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.9e-05/0.542, allocations: 4 kB / 0.6292 GB, free: 2.941 MB / 0.5137 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.004477/0.5465, allocations: 2.671 MB / 0.6319 GB, free: 232 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5465, allocations: 8.031 kB / 0.6319 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.5483, allocations: 0.5495 MB / 0.6324 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.5501, allocations: 1.154 MB / 0.6335 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.5505, allocations: 363.3 kB / 0.6339 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.5507, allocations: 208.2 kB / 0.6341 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009409/0.5601, allocations: 8.38 MB / 0.6423 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.5602, allocations: 4 kB / 0.6423 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.5603, allocations: 83.92 kB / 0.6423 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003748/0.5607, allocations: 344.6 kB / 0.6427 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.5757, allocations: 13.92 MB / 0.6563 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02753/0.6032, allocations: 18.88 MB / 0.6747 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005576/0.6088, allocations: 3.828 MB / 0.6784 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003766/0.6126, allocations: 2.681 MB / 0.681 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.6141, allocations: 0.5748 MB / 0.6816 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.6142, allocations: 43.22 kB / 0.6817 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.975e-06/0.6142, allocations: 0 / 0.6817 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102): time 0.3/0.9142, allocations: 15.01 MB / 0.6963 GB, free: 75.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003572/0.9178, allocations: 3.207 MB / 0.6994 GB, free: 74.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.9191, allocations: 1.279 MB / 0.7007 GB, free: 73.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003758/0.9195, allocations: 45.52 kB / 0.7007 GB, free: 73.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/0.9201, allocations: 1.109 MB / 0.7018 GB, free: 73.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/0.9205, allocations: 369.6 kB / 0.7022 GB, free: 73.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007657/0.9213, allocations: 390.7 kB / 0.7025 GB, free: 73.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.9213, allocations: 343 kB / 0.7029 GB, free: 73.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003687/0.925, allocations: 3.298 MB / 0.7061 GB, free: 73.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003714/0.9287, allocations: 3.518 MB / 0.7095 GB, free: 73.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02118/0.9499, allocations: 9.522 MB / 0.7188 GB, free: 72.78 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.9499, allocations: 2.75 kB / 0.7188 GB, free: 72.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01021/0.9601, allocations: 6.614 MB / 0.7253 GB, free: 72.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.9602, allocations: 10.28 kB / 0.7253 GB, free: 72.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.9602, allocations: 8.406 kB / 0.7253 GB, free: 72.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008788/0.9611, allocations: 451.9 kB / 0.7257 GB, free: 72.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009272/0.9703, allocations: 1.077 MB / 0.7268 GB, free: 72.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008244/0.9786, allocations: 8.317 MB / 0.7349 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.9801, allocations: 60.19 kB / 0.735 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007102/0.9808, allocations: 285.8 kB / 0.7352 GB, free: 66.66 MB / 0.5762 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (124): * Single equations (assignments): 120 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001716/0.9825, allocations: 0.6344 MB / 0.7359 GB, free: 66.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006875/0.9832, allocations: 131.1 kB / 0.736 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008192/0.9914, allocations: 3.177 MB / 0.7391 GB, free: 65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.9914, allocations: 13.03 kB / 0.7391 GB, free: 65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.9914, allocations: 3.25 kB / 0.7391 GB, free: 65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.9914, allocations: 4.172 kB / 0.7391 GB, free: 65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/1.002, allocations: 5.721 MB / 0.7447 GB, free: 62.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.002, allocations: 5.406 kB / 0.7447 GB, free: 62.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005803/1.008, allocations: 498 kB / 0.7452 GB, free: 62.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/1.009, allocations: 228 kB / 0.7454 GB, free: 62.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/1.009, allocations: 26.75 kB / 0.7454 GB, free: 62.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005807/1.015, allocations: 6.321 MB / 0.7516 GB, free: 56.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002336/1.017, allocations: 1.832 MB / 0.7534 GB, free: 55.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/1.022, allocations: 2.176 MB / 0.7555 GB, free: 53.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/1.022, allocations: 143.8 kB / 0.7556 GB, free: 53.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/1.023, allocations: 36.45 kB / 0.7557 GB, free: 53.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/1.024, allocations: 41.55 kB / 0.7557 GB, free: 53.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/1.024, allocations: 101.2 kB / 0.7558 GB, free: 53.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/1.024, allocations: 32.64 kB / 0.7558 GB, free: 53.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002704/1.027, allocations: 2.648 MB / 0.7584 GB, free: 52.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.027, allocations: 2.688 kB / 0.7584 GB, free: 52.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002384/1.029, allocations: 0.6591 MB / 0.7591 GB, free: 52.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 2 ($cse18,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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): 2 systems {(1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000663/1.03, allocations: 383.8 kB / 0.7594 GB, free: 52.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007129/1.037, allocations: 4.039 MB / 0.7634 GB, free: 50.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.037, allocations: 0.75 kB / 0.7634 GB, free: 50.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003811/1.041, allocations: 1.116 MB / 0.7645 GB, free: 50.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/1.043, allocations: 338.3 kB / 0.7648 GB, free: 50.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/1.049, allocations: 4.141 MB / 0.7688 GB, free: 47.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.05, allocations: 1.112 MB / 0.7699 GB, free: 47.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001374/1.052, allocations: 390.3 kB / 0.7703 GB, free: 47.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009004/1.053, allocations: 193.2 kB / 0.7705 GB, free: 47.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.053, allocations: 0 / 0.7705 GB, free: 47.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.06136/1.114, allocations: 54.96 MB / 0.8242 GB, free: 14.67 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST_2.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.742446269025095] Failed to read output from testmodel.py, exit status != 0: 1.1233034810284153 1.138359065 0.593291083 Calling exit ...