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.001719/0.001719, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001992/0.001992, allocations: 220.6 kB / 23.05 MB, free: 5.07 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.1499/0.1499, allocations: 23.86 MB / 337.1 MB, free: 11.19 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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="cs",version="2.0",platforms={"static"}) [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.001968/0.001968, allocations: 74.72 kB / 471.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 59.85 MB / 0.5193 GB, free: 9.609 MB / 382.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.04672/0.4225, allocations: 29.66 MB / 0.5483 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2133/0.6358, allocations: 150.5 MB / 0.6953 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.6393, allocations: 27.88 kB / 0.6953 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.6437, allocations: 1.099 MB / 0.6964 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.6479, allocations: 0.8882 MB / 0.6973 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004598/0.6525, allocations: 1.412 MB / 0.6987 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005465/0.6579, allocations: 2.28 MB / 0.7009 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009742/0.6589, allocations: 427.5 kB / 0.7013 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.6604, allocations: 0.7862 MB / 0.7021 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.662, allocations: 0.9492 MB / 0.703 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.6623, allocations: 212 kB / 0.7032 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005605/0.6679, allocations: 1.755 MB / 0.7049 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008712/0.6687, allocations: 0.6697 MB / 0.7055 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.6709, allocations: 1.22 MB / 0.7067 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.6846, allocations: 4.262 MB / 0.7109 GB, free: 5.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6846, allocations: 3.938 kB / 0.7109 GB, free: 5.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6846, allocations: 3.938 kB / 0.7109 GB, free: 5.379 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001587/0.6848, allocations: 0 / 0.7109 GB, free: 5.379 MB / 0.545 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.007623/0.6924, allocations: 2.682 MB / 0.7135 GB, free: 2.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.6925, allocations: 8.031 kB / 0.7135 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.371e-05/0.6925, allocations: 56.08 kB / 0.7136 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004585/0.693, allocations: 321.8 kB / 0.7139 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.6943, allocations: 466.8 kB / 0.7143 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.6964, allocations: 1.154 MB / 0.7155 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000419/0.6968, allocations: 363.2 kB / 0.7158 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.6971, allocations: 200.1 kB / 0.716 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.7075, allocations: 8.348 MB / 0.7242 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.7075, allocations: 4 kB / 0.7242 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.7077, allocations: 79.98 kB / 0.7242 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004299/0.7081, allocations: 340.6 kB / 0.7246 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2999/1.008, allocations: 13.9 MB / 0.7381 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03127/1.039, allocations: 20.51 MB / 0.7582 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/1.044, allocations: 3.794 MB / 0.7619 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003093/1.047, allocations: 2.647 MB / 0.7645 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/1.049, allocations: 0.6619 MB / 0.7651 GB, free: 175 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/1.049, allocations: 50.92 kB / 0.7652 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.474e-06/1.049, allocations: 0 / 0.7652 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.02914/1.078, allocations: 14.97 MB / 0.7798 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003558/1.082, allocations: 3.273 MB / 0.783 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/1.085, allocations: 3.195 MB / 0.7861 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005461/1.086, allocations: 41.7 kB / 0.7861 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006748/1.086, allocations: 1.041 MB / 0.7872 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/1.087, allocations: 367.3 kB / 0.7875 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008116/1.088, allocations: 382.8 kB / 0.7879 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.118e-05/1.088, allocations: 348.5 kB / 0.7882 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/1.091, allocations: 3.265 MB / 0.7914 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/1.094, allocations: 3.487 MB / 0.7948 GB, free: 145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02856/1.123, allocations: 10.33 MB / 0.8049 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.123, allocations: 0 / 0.8049 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008662/1.131, allocations: 6.688 MB / 0.8114 GB, free: 128 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.131, allocations: 8 kB / 0.8114 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.131, allocations: 11.94 kB / 0.8114 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/1.132, allocations: 447.5 kB / 0.8119 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008591/1.141, allocations: 1.064 MB / 0.8129 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006536/1.147, allocations: 8.441 MB / 0.8211 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/1.149, allocations: 54.62 kB / 0.8212 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/1.149, allocations: 283.3 kB / 0.8215 GB, free: 117.4 MB / 0.5606 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.001376/1.151, allocations: 0.6323 MB / 0.8221 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/1.151, allocations: 266.2 kB / 0.8223 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006317/1.158, allocations: 3.228 MB / 0.8255 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/1.158, allocations: 8 kB / 0.8255 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.158, allocations: 0 / 0.8255 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.158, allocations: 7.984 kB / 0.8255 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008323/1.166, allocations: 5.91 MB / 0.8313 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.166, allocations: 6.625 kB / 0.8313 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005548/1.171, allocations: 487.3 kB / 0.8317 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/1.173, allocations: 219.8 kB / 0.832 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.908e-05/1.173, allocations: 27.98 kB / 0.832 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/1.178, allocations: 6.497 MB / 0.8383 GB, free: 99.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002186/1.18, allocations: 1.891 MB / 0.8402 GB, free: 97.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/1.185, allocations: 2.216 MB / 0.8423 GB, free: 95.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009115/1.186, allocations: 367.1 kB / 0.8427 GB, free: 94.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005055/1.186, allocations: 28.92 kB / 0.8427 GB, free: 94.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/1.187, allocations: 31.97 kB / 0.8427 GB, free: 94.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/1.187, allocations: 107 kB / 0.8428 GB, free: 94.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/1.187, allocations: 27.98 kB / 0.8429 GB, free: 94.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004162/1.191, allocations: 4.018 MB / 0.8468 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.191, allocations: 2.719 kB / 0.8468 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002515/1.194, allocations: 0.6949 MB / 0.8475 GB, free: 89.96 MB / 0.5606 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.004652/1.199, allocations: 3.052 MB / 0.8505 GB, free: 86.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006591/1.205, allocations: 3.973 MB / 0.8543 GB, free: 82.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.205, allocations: 6.625 kB / 0.8543 GB, free: 82.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003612/1.209, allocations: 1.073 MB / 0.8554 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003363/1.212, allocations: 0.6492 MB / 0.856 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04831/1.26, allocations: 43.09 MB / 0.8981 GB, free: 37.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.261, allocations: 1.667 MB / 0.8997 GB, free: 35.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001695/1.263, allocations: 0.5512 MB / 0.9003 GB, free: 35.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.265, allocations: 1.062 MB / 0.9013 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.265, allocations: 0 / 0.9013 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4674/1.732, allocations: 86.87 MB / 0.9861 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.66/21.39, allocations: 2.375 kB / 0.9861 GB, free: 186.3 MB / 0.5762 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.902004410978407] Failed to read output from testmodel.py, exit status != 0: 21.615561089012772 21.634244944 20.945856661 Calling exit ...