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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001747/0.001747, allocations: 221 kB / 22.25 MB, free: 5.215 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.984 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.1472/0.1472, allocations: 23.85 MB / 336.3 MB, free: 11.18 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="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: 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.00219/0.00219, allocations: 71.88 kB / 471.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4495, allocations: 59.85 MB / 0.5186 GB, free: 9.621 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.04917/0.4986, allocations: 29.83 MB / 0.5477 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2163/0.715, allocations: 150.5 MB / 0.6947 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003355/0.7183, allocations: 23.88 kB / 0.6947 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004994/0.7233, allocations: 1.08 MB / 0.6958 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.7282, allocations: 0.8765 MB / 0.6966 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005128/0.7333, allocations: 1.4 MB / 0.698 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005582/0.7389, allocations: 2.295 MB / 0.7002 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.74, allocations: 423.5 kB / 0.7006 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.7416, allocations: 0.7862 MB / 0.7014 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.7436, allocations: 0.9453 MB / 0.7023 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007443/0.7443, allocations: 212 kB / 0.7025 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006078/0.7504, allocations: 1.759 MB / 0.7043 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.7516, allocations: 0.6619 MB / 0.7049 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.7546, allocations: 1.224 MB / 0.7061 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.7653, allocations: 4.251 MB / 0.7103 GB, free: 5.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.7653, allocations: 3.984 kB / 0.7103 GB, free: 5.227 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7653, allocations: 0 / 0.7103 GB, free: 5.227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001471/0.7654, allocations: 3.938 kB / 0.7103 GB, free: 5.223 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.008493/0.7739, allocations: 2.685 MB / 0.7129 GB, free: 2.492 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.774, allocations: 8.031 kB / 0.7129 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007891/0.7748, allocations: 325.8 kB / 0.7132 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.7765, allocations: 462.8 kB / 0.7136 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.7789, allocations: 1.158 MB / 0.7148 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004605/0.7793, allocations: 359.2 kB / 0.7151 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.7797, allocations: 200.4 kB / 0.7153 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.7914, allocations: 8.348 MB / 0.7235 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.439e-05/0.7914, allocations: 11.94 kB / 0.7235 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/0.7917, allocations: 79.98 kB / 0.7235 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004332/0.7921, allocations: 340.6 kB / 0.7239 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3377/1.13, allocations: 13.9 MB / 0.7374 GB, free: 188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02946/1.159, allocations: 20.51 MB / 0.7575 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005007/1.164, allocations: 3.793 MB / 0.7612 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/1.167, allocations: 2.645 MB / 0.7638 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/1.169, allocations: 0.6633 MB / 0.7644 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/1.169, allocations: 44.62 kB / 0.7645 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.434e-06/1.169, allocations: 0 / 0.7645 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.02866/1.197, allocations: 14.97 MB / 0.7791 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003714/1.201, allocations: 3.277 MB / 0.7823 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/1.204, allocations: 3.199 MB / 0.7854 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000511/1.205, allocations: 41.7 kB / 0.7854 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006437/1.206, allocations: 1.044 MB / 0.7865 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/1.206, allocations: 368.9 kB / 0.7868 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007137/1.207, allocations: 374.8 kB / 0.7872 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/1.207, allocations: 344.6 kB / 0.7875 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/1.21, allocations: 3.27 MB / 0.7907 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003148/1.213, allocations: 3.479 MB / 0.7941 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02855/1.242, allocations: 10.34 MB / 0.8042 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/1.242, allocations: 0 / 0.8042 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008754/1.25, allocations: 6.683 MB / 0.8107 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.25, allocations: 11.94 kB / 0.8107 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.25, allocations: 6.688 kB / 0.8107 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007197/1.251, allocations: 455.8 kB / 0.8112 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009175/1.26, allocations: 1.052 MB / 0.8122 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/1.267, allocations: 8.453 MB / 0.8204 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/1.269, allocations: 43.97 kB / 0.8205 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/1.269, allocations: 283.9 kB / 0.8208 GB, free: 117.2 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.001309/1.271, allocations: 0.6279 MB / 0.8214 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005981/1.271, allocations: 287.2 kB / 0.8216 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006411/1.278, allocations: 3.22 MB / 0.8248 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.278, allocations: 8 kB / 0.8248 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.278, allocations: 0 / 0.8248 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.278, allocations: 3.984 kB / 0.8248 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008282/1.286, allocations: 5.906 MB / 0.8306 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.286, allocations: 8 kB / 0.8306 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005758/1.292, allocations: 486 kB / 0.831 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/1.293, allocations: 230.8 kB / 0.8313 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/1.293, allocations: 31.98 kB / 0.8313 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/1.299, allocations: 6.488 MB / 0.8376 GB, free: 99.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002369/1.301, allocations: 1.895 MB / 0.8395 GB, free: 97.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/1.306, allocations: 2.209 MB / 0.8416 GB, free: 95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.307, allocations: 367.5 kB / 0.842 GB, free: 94.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008438/1.308, allocations: 31.61 kB / 0.842 GB, free: 94.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.309, allocations: 31.98 kB / 0.842 GB, free: 94.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/1.31, allocations: 103 kB / 0.8421 GB, free: 94.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/1.31, allocations: 31.98 kB / 0.8422 GB, free: 94.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005206/1.315, allocations: 4.019 MB / 0.8461 GB, free: 90.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.315, allocations: 0 / 0.8461 GB, free: 90.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00288/1.318, allocations: 0.691 MB / 0.8468 GB, free: 89.76 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.005513/1.323, allocations: 3.055 MB / 0.8498 GB, free: 86.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007086/1.33, allocations: 3.969 MB / 0.8536 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.33, allocations: 0 / 0.8536 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003996/1.334, allocations: 1.082 MB / 0.8547 GB, free: 81.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004317/1.339, allocations: 0.6503 MB / 0.8553 GB, free: 80.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05691/1.396, allocations: 43.09 MB / 0.8974 GB, free: 37.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/1.397, allocations: 1.679 MB / 0.899 GB, free: 35.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002151/1.399, allocations: 0.5509 MB / 0.8996 GB, free: 35.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/1.401, allocations: 1.058 MB / 0.9006 GB, free: 34.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/1.401, allocations: 0 / 0.9006 GB, free: 34.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4488/1.85, allocations: 86.84 MB / 0.9854 GB, free: 186.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/21.54, allocations: 8.047 kB / 0.9854 GB, free: 186.1 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: 25.02733788685873] Failed to read output from testmodel.py, exit status != 0: 21.714372808113694 21.734102776 20.964727412 Calling exit ...