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.0007855/0.0007855, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008568/0.0008568, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9035/0.9035, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 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.0908/0.0908, allocations: 17.37 MB / 276.6 MB, free: 11.86 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 411.4 MB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.554e-05, allocations: 6.281 kB / 411.4 MB, free: 436 kB / 378.7 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.02364/0.02367, allocations: 28.98 MB / 440.4 MB, free: 3.516 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3027/0.3264, allocations: 128.9 MB / 0.5559 GB, free: 5.828 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.3277, allocations: 27.88 kB / 0.556 GB, free: 5.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.33, allocations: 1.006 MB / 0.5569 GB, free: 4.793 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.3318, allocations: 0.9111 MB / 0.5578 GB, free: 3.875 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.3346, allocations: 1.345 MB / 0.5592 GB, free: 2.523 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.3366, allocations: 2.361 MB / 0.5615 GB, free: 160 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.337, allocations: 422.7 kB / 0.5619 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007679/0.3378, allocations: 1.201 MB / 0.563 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.3384, allocations: 0.6895 MB / 0.5637 GB, free: 13.81 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3385, allocations: 212 kB / 0.5639 GB, free: 13.6 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.3403, allocations: 1.158 MB / 0.565 GB, free: 12.44 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.3407, allocations: 0.6619 MB / 0.5657 GB, free: 11.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.3412, allocations: 0.7285 MB / 0.5664 GB, free: 11.05 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.3441, allocations: 4.117 MB / 0.5704 GB, free: 6.918 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3441, allocations: 0 / 0.5704 GB, free: 6.918 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3441, allocations: 0 / 0.5704 GB, free: 6.918 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.3441, allocations: 7.938 kB / 0.5704 GB, free: 6.91 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.002466/0.3465, allocations: 2.655 MB / 0.573 GB, free: 4.215 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3466, allocations: 8.031 kB / 0.573 GB, free: 4.207 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002481/0.3468, allocations: 325 kB / 0.5733 GB, free: 3.883 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/0.3478, allocations: 0.541 MB / 0.5739 GB, free: 3.344 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.349, allocations: 1.157 MB / 0.575 GB, free: 2.148 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.3492, allocations: 371.2 kB / 0.5753 GB, free: 1.762 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.3494, allocations: 196.3 kB / 0.5755 GB, free: 1.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/0.3551, allocations: 8.368 MB / 0.5837 GB, free: 9.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.3551, allocations: 4.312 kB / 0.5837 GB, free: 9.141 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3552, allocations: 91.92 kB / 0.5838 GB, free: 9.051 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002262/0.3554, allocations: 336.6 kB / 0.5841 GB, free: 8.719 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008723/0.3642, allocations: 13.92 MB / 0.5977 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.3821, allocations: 19.88 MB / 0.6171 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003731/0.3858, allocations: 3.828 MB / 0.6209 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.3882, allocations: 2.666 MB / 0.6235 GB, free: 308 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1958/0.5841, allocations: 0.5751 MB / 0.624 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5841, allocations: 41.16 kB / 0.6241 GB, free: 158 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 2.835e-06/0.5841, allocations: 0 / 0.6241 GB, free: 158 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102): time 0.02082/0.6049, allocations: 15.15 MB / 0.6389 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003135/0.6081, allocations: 3.23 MB / 0.642 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.6113, allocations: 3.203 MB / 0.6451 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.6114, allocations: 42.58 kB / 0.6452 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.612, allocations: 1.04 MB / 0.6462 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.6123, allocations: 359.8 kB / 0.6465 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005767/0.6129, allocations: 380.7 kB / 0.6469 GB, free: 148 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.6129, allocations: 344.9 kB / 0.6472 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.6157, allocations: 3.301 MB / 0.6505 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.6183, allocations: 3.517 MB / 0.6539 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/0.6316, allocations: 9.524 MB / 0.6632 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6316, allocations: 2.438 kB / 0.6632 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.007131/0.6387, allocations: 6.747 MB / 0.6698 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6387, allocations: 7.406 kB / 0.6698 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.6387, allocations: 6.656 kB / 0.6698 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.6393, allocations: 457 kB / 0.6702 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004335/0.6436, allocations: 1.078 MB / 0.6713 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004945/0.6485, allocations: 8.38 MB / 0.6795 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009622/0.6495, allocations: 54.25 kB / 0.6795 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/0.6498, allocations: 281.6 kB / 0.6798 GB, free: 131.8 MB / 0.4948 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.001042/0.6508, allocations: 0.6295 MB / 0.6804 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.6511, allocations: 268.7 kB / 0.6807 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.6554, allocations: 3.304 MB / 0.6839 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6554, allocations: 12 kB / 0.6839 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6554, allocations: 0.9375 kB / 0.6839 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.6554, allocations: 3.516 kB / 0.6839 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005063/0.6605, allocations: 5.123 MB / 0.6889 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6605, allocations: 4 kB / 0.6889 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/0.6632, allocations: 0.4908 MB / 0.6894 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005834/0.6638, allocations: 223.2 kB / 0.6896 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.6638, allocations: 36.38 kB / 0.6896 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00351/0.6674, allocations: 6.392 MB / 0.6959 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001294/0.6687, allocations: 1.851 MB / 0.6977 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.6713, allocations: 2.299 MB / 0.6999 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.6717, allocations: 370.4 kB / 0.7003 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.6719, allocations: 31.8 kB / 0.7003 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.6724, allocations: 46.03 kB / 0.7004 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.6726, allocations: 104.4 kB / 0.7005 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.6726, allocations: 32.88 kB / 0.7005 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002839/0.6754, allocations: 4.019 MB / 0.7044 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.6754, allocations: 0 / 0.7044 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001337/0.6768, allocations: 0.6847 MB / 0.7051 GB, free: 109.2 MB / 0.4948 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.003274/0.6801, allocations: 3.142 MB / 0.7082 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004262/0.6843, allocations: 4.04 MB / 0.7121 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6843, allocations: 0 / 0.7121 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.6861, allocations: 1.114 MB / 0.7132 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.6877, allocations: 0.6604 MB / 0.7138 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03463/0.7224, allocations: 42.63 MB / 0.7555 GB, free: 58.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.723, allocations: 1.096 MB / 0.7565 GB, free: 56.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001101/0.7241, allocations: 0.5521 MB / 0.7571 GB, free: 56.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009794/0.7251, allocations: 1.059 MB / 0.7581 GB, free: 55.39 MB / 0.4948 GB Notification: Performance of SimCode: time 2.194e-06/0.7251, allocations: 0 / 0.7581 GB, free: 55.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2555/0.9806, allocations: 92.33 MB / 0.8483 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.24, allocations: 5.172 kB / 0.8483 GB, free: 145.6 MB / 0.4948 GB " [Timeout remaining time 648] (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: 14.301572861149907] Failed to read output from testmodel.py, exit status != 0: 12.369056914001703 12.376549153 12.031035457 Calling exit ...