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.0007152/0.0007152, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000766/0.000766, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8409/0.8409, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.08763/0.08763, allocations: 17.45 MB / 277.4 MB, free: 11.75 MB / 266.7 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.784e-06/1.784e-06, allocations: 0 / 412.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.775e-05, allocations: 6.219 kB / 412.8 MB, free: 15.75 MB / 394.7 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.02242/0.02245, allocations: 29.39 MB / 442.2 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2969/0.3194, allocations: 130.8 MB / 0.5596 GB, free: 3.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.3216, allocations: 59.5 kB / 0.5596 GB, free: 2.961 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.3246, allocations: 1.06 MB / 0.5607 GB, free: 1.895 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.3278, allocations: 1.171 MB / 0.5618 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.3309, allocations: 1.637 MB / 0.5634 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002382/0.3333, allocations: 2.574 MB / 0.5659 GB, free: 12.49 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.3337, allocations: 430.7 kB / 0.5664 GB, free: 12.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.3349, allocations: 1.321 MB / 0.5676 GB, free: 10.71 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008085/0.3357, allocations: 0.9468 MB / 0.5686 GB, free: 9.758 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3358, allocations: 204 kB / 0.5688 GB, free: 9.559 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.3379, allocations: 1.384 MB / 0.5701 GB, free: 8.172 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.3383, allocations: 0.6969 MB / 0.5708 GB, free: 7.473 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004644/0.3387, allocations: 0.7519 MB / 0.5715 GB, free: 6.719 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.3419, allocations: 4.179 MB / 0.5756 GB, free: 2.527 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3419, allocations: 3.938 kB / 0.5756 GB, free: 2.523 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3419, allocations: 0 / 0.5756 GB, free: 2.523 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.342, allocations: 0 / 0.5756 GB, free: 2.523 MB / 458.7 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.002218/0.3442, allocations: 2.71 MB / 0.5783 GB, free: 15.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3442, allocations: 12.03 kB / 0.5783 GB, free: 15.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007837/0.345, allocations: 0.529 MB / 0.5788 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.3462, allocations: 1.321 MB / 0.5801 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.3464, allocations: 271.3 kB / 0.5803 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.3465, allocations: 196.4 kB / 0.5805 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/0.3514, allocations: 7.218 MB / 0.5876 GB, free: 6.105 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.3514, allocations: 4.188 kB / 0.5876 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/0.3515, allocations: 80.36 kB / 0.5877 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003393/0.3519, allocations: 336.5 kB / 0.588 GB, free: 5.691 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007903/0.3598, allocations: 12.91 MB / 0.6006 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.3714, allocations: 12.18 MB / 0.6125 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.3733, allocations: 1.855 MB / 0.6143 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3746, allocations: 1.21 MB / 0.6155 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007588/0.3822, allocations: 6.425 MB / 0.6217 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.3822, allocations: 39.22 kB / 0.6218 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 3.096e-06/0.3822, allocations: 0 / 0.6218 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.1845/0.5667, allocations: 8.61 MB / 0.6302 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.5667, allocations: 61.88 kB / 0.6302 GB, free: 156 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/0.5676, allocations: 1.173 MB / 0.6314 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.5677, allocations: 43.45 kB / 0.6314 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.568, allocations: 1.189 MB / 0.6326 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.5682, allocations: 339.2 kB / 0.6329 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.5685, allocations: 374.2 kB / 0.6333 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.5686, allocations: 356.1 kB / 0.6336 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.5698, allocations: 1.296 MB / 0.6349 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.571, allocations: 1.742 MB / 0.6366 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.5735, allocations: 3.128 MB / 0.6396 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.5735, allocations: 3.156 kB / 0.6396 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003432/0.577, allocations: 3.521 MB / 0.6431 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.577, allocations: 12.89 kB / 0.6431 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.577, allocations: 15.31 kB / 0.6431 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/0.5773, allocations: 189.8 kB / 0.6433 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.5808, allocations: 0.8681 MB / 0.6441 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.5834, allocations: 5.599 MB / 0.6496 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.5839, allocations: 63.97 kB / 0.6497 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.5841, allocations: 238.8 kB / 0.6499 GB, free: 143.8 MB / 0.4948 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.0009144/0.5851, allocations: 0.6526 MB / 0.6505 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.5852, allocations: 161.8 kB / 0.6507 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.5883, allocations: 2.568 MB / 0.6532 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5883, allocations: 9.547 kB / 0.6532 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5883, allocations: 2.938 kB / 0.6532 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5883, allocations: 6.203 kB / 0.6532 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.5917, allocations: 3.037 MB / 0.6562 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5917, allocations: 3.094 kB / 0.6562 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/0.5948, allocations: 0.5942 MB / 0.6568 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.595, allocations: 155.8 kB / 0.6569 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.595, allocations: 27 kB / 0.6569 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.5971, allocations: 5.633 MB / 0.6624 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5971, allocations: 10.22 kB / 0.6624 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.5991, allocations: 1.696 MB / 0.6641 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.5992, allocations: 116 kB / 0.6642 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.5994, allocations: 25.42 kB / 0.6642 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.5997, allocations: 45.77 kB / 0.6643 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.5998, allocations: 72.17 kB / 0.6643 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.5999, allocations: 26.84 kB / 0.6644 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001457/0.6013, allocations: 1.842 MB / 0.6662 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.6013, allocations: 0 / 0.6662 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00142/0.6028, allocations: 0.5501 MB / 0.6667 GB, free: 133.5 MB / 0.4948 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.0005022/0.6033, allocations: 413.4 kB / 0.6671 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.6066, allocations: 2.257 MB / 0.6693 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6066, allocations: 1.219 kB / 0.6693 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.6083, allocations: 0.9172 MB / 0.6702 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009472/0.6093, allocations: 337.6 kB / 0.6705 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.614, allocations: 3.999 MB / 0.6744 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/0.6149, allocations: 1.096 MB / 0.6755 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005989/0.6155, allocations: 246.5 kB / 0.6757 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/0.6155, allocations: 0 / 0.6757 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.0473/0.6628, allocations: 77.58 MB / 0.7515 GB, free: 64.22 MB / 0.4948 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: 8.71775239892304] Failed to read output from testmodel.py, exit status != 0: 0.6677491823211312 0.6730932970000001 0.32978972500000003 Calling exit ...