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.001313/0.001313, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001399/0.001399, allocations: 218.2 kB / 23.04 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] 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.1508/0.1508, allocations: 23.87 MB / 337.1 MB, free: 11.16 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_master_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.002187/0.002187, allocations: 63.89 kB / 472 MB, free: 7.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3385, allocations: 59.87 MB / 0.5194 GB, free: 9.578 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1817:5-1817: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:1817:5-1817: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/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 master/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.04563/0.3842, allocations: 29.66 MB / 0.5483 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1924/0.5766, allocations: 150.5 MB / 0.6954 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.5787, allocations: 27.88 kB / 0.6954 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004495/0.5832, allocations: 1.092 MB / 0.6964 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.5869, allocations: 0.8843 MB / 0.6973 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.5913, allocations: 1.419 MB / 0.6987 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004742/0.596, allocations: 2.287 MB / 0.7009 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.597, allocations: 427.5 kB / 0.7013 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.5985, allocations: 0.79 MB / 0.7021 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.6003, allocations: 0.9453 MB / 0.703 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006414/0.601, allocations: 212 kB / 0.7032 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004784/0.6057, allocations: 1.755 MB / 0.7049 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000922/0.6067, allocations: 0.6658 MB / 0.7056 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.6089, allocations: 1.224 MB / 0.7068 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008249/0.6172, allocations: 4.27 MB / 0.711 GB, free: 5.281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6172, allocations: 0 / 0.711 GB, free: 5.281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6172, allocations: 0 / 0.711 GB, free: 5.281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.391e-05/0.6173, allocations: 0 / 0.711 GB, free: 5.281 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.004757/0.622, allocations: 2.682 MB / 0.7136 GB, free: 2.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6221, allocations: 8.031 kB / 0.7136 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.746e-05/0.6221, allocations: 56.08 kB / 0.7136 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003731/0.6225, allocations: 321.8 kB / 0.7139 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.6237, allocations: 458.8 kB / 0.7144 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.6256, allocations: 1.166 MB / 0.7155 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/0.6259, allocations: 367.2 kB / 0.7159 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.6262, allocations: 200.1 kB / 0.7161 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009727/0.636, allocations: 8.348 MB / 0.7242 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.636, allocations: 0 / 0.7242 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.6362, allocations: 79.98 kB / 0.7243 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003902/0.6366, allocations: 340.6 kB / 0.7246 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2537/0.8902, allocations: 13.9 MB / 0.7382 GB, free: 188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.9185, allocations: 20.52 MB / 0.7582 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/0.9229, allocations: 3.799 MB / 0.7619 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.9256, allocations: 2.65 MB / 0.7645 GB, free: 175 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001805/0.9274, allocations: 0.6609 MB / 0.7652 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.9274, allocations: 40.31 kB / 0.7652 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=83): time 3.136e-06/0.9274, allocations: 0 / 0.7652 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.02844/0.9558, allocations: 15.02 MB / 0.7799 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003839/0.9597, allocations: 3.269 MB / 0.7831 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/0.9634, allocations: 3.191 MB / 0.7862 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004167/0.9638, allocations: 41.7 kB / 0.7862 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006833/0.9645, allocations: 1.043 MB / 0.7873 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.9649, allocations: 372.1 kB / 0.7876 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008121/0.9657, allocations: 382.8 kB / 0.788 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.9658, allocations: 349.9 kB / 0.7883 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/0.9689, allocations: 3.264 MB / 0.7915 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003241/0.9721, allocations: 3.487 MB / 0.7949 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/0.9767, allocations: 4.198 MB / 0.799 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.9767, allocations: 4 kB / 0.799 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.008389/0.9851, allocations: 6.688 MB / 0.8055 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.9851, allocations: 8 kB / 0.8055 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.9852, allocations: 8 kB / 0.8056 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007559/0.9859, allocations: 454.1 kB / 0.806 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009018/0.9949, allocations: 1.064 MB / 0.807 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/1.002, allocations: 8.44 MB / 0.8153 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.004, allocations: 46.62 kB / 0.8153 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006508/1.005, allocations: 283.9 kB / 0.8156 GB, free: 123.1 MB / 0.5606 GB 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 (125): * Single equations (assignments): 121 * 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.00177/1.007, allocations: 0.6204 MB / 0.8162 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000982/1.008, allocations: 274.2 kB / 0.8164 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007192/1.015, allocations: 3.235 MB / 0.8196 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.015, allocations: 12 kB / 0.8196 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.015, allocations: 0 / 0.8196 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.015, allocations: 3.984 kB / 0.8196 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009413/1.024, allocations: 5.988 MB / 0.8255 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.024, allocations: 6.594 kB / 0.8255 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005643/1.03, allocations: 479.4 kB / 0.8259 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/1.031, allocations: 234.4 kB / 0.8262 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.031, allocations: 27.98 kB / 0.8262 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005976/1.037, allocations: 6.491 MB / 0.8325 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00225/1.039, allocations: 1.901 MB / 0.8344 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/1.044, allocations: 2.225 MB / 0.8366 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.045, allocations: 370.1 kB / 0.8369 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009304/1.046, allocations: 31.89 kB / 0.8369 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.047, allocations: 30.67 kB / 0.837 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/1.047, allocations: 107 kB / 0.8371 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/1.047, allocations: 34.66 kB / 0.8371 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004844/1.052, allocations: 4.016 MB / 0.841 GB, free: 96.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.052, allocations: 0 / 0.841 GB, free: 96.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002473/1.055, allocations: 0.691 MB / 0.8417 GB, free: 95.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (80): * Single equations (assignments): 76 * 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.004963/1.06, allocations: 3.066 MB / 0.8447 GB, free: 92.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006734/1.066, allocations: 3.991 MB / 0.8486 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.066, allocations: 0 / 0.8486 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.07, allocations: 1.076 MB / 0.8496 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.074, allocations: 0.6482 MB / 0.8503 GB, free: 86.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05374/1.128, allocations: 43.15 MB / 0.8924 GB, free: 43.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.129, allocations: 1.672 MB / 0.894 GB, free: 41.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001887/1.131, allocations: 0.5477 MB / 0.8946 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/1.133, allocations: 1.08 MB / 0.8956 GB, free: 39.98 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/1.133, allocations: 0 / 0.8956 GB, free: 39.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4251/1.558, allocations: 87.03 MB / 0.9806 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.81/21.37, allocations: 4.172 kB / 0.9806 GB, free: 189.8 MB / 0.5762 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Examples_GasSolubility_NIST_2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.78599962592125] Failed to read output from testmodel.py, exit status != 0: 21.59572230000049 21.615486312 20.994854814 Calling exit ...