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.001796/0.001796, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001822/0.001822, allocations: 220.2 kB / 23.03 MB, free: 4.945 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1552/0.1552, allocations: 23.88 MB / 337.1 MB, free: 10.99 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.002015/0.002015, allocations: 67.89 kB / 471.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4123, allocations: 59.86 MB / 0.5193 GB, free: 9.574 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.07967/0.492, allocations: 28.34 MB / 0.547 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1748/0.6668, allocations: 128.8 MB / 0.6727 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.6697, allocations: 23.88 kB / 0.6727 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004128/0.6738, allocations: 1.002 MB / 0.6737 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.6774, allocations: 0.8921 MB / 0.6746 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.6813, allocations: 1.349 MB / 0.6759 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0042/0.6855, allocations: 2.291 MB / 0.6781 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007532/0.6863, allocations: 423.5 kB / 0.6785 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.6873, allocations: 0.7861 MB / 0.6793 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.6885, allocations: 0.953 MB / 0.6802 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.6887, allocations: 212 kB / 0.6804 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.6917, allocations: 1.178 MB / 0.6816 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008277/0.6926, allocations: 0.6658 MB / 0.6822 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.6939, allocations: 0.913 MB / 0.6831 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008609/0.7025, allocations: 4.102 MB / 0.6871 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7025, allocations: 0 / 0.6871 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7025, allocations: 0 / 0.6871 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.999e-05/0.7026, allocations: 4 kB / 0.6871 GB, free: 13.54 MB / 0.5294 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.005034/0.7077, allocations: 2.674 MB / 0.6897 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.7077, allocations: 8.031 kB / 0.6897 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.047e-05/0.7078, allocations: 56.08 kB / 0.6898 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003867/0.7082, allocations: 329.8 kB / 0.6901 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.7102, allocations: 0.5417 MB / 0.6906 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.7122, allocations: 1.162 MB / 0.6918 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/0.7126, allocations: 363.3 kB / 0.6921 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.7129, allocations: 200.1 kB / 0.6923 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.7242, allocations: 8.383 MB / 0.7005 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.7243, allocations: 0 / 0.7005 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.7245, allocations: 79.98 kB / 0.7006 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004/0.7249, allocations: 340.6 kB / 0.7009 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.7414, allocations: 13.95 MB / 0.7145 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3449/1.086, allocations: 19.87 MB / 0.7339 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006344/1.093, allocations: 3.831 MB / 0.7377 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004472/1.097, allocations: 2.668 MB / 0.7403 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002282/1.099, allocations: 0.5763 MB / 0.7408 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/1.099, allocations: 42.56 kB / 0.7409 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 5.981e-06/1.099, allocations: 0 / 0.7409 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03776/1.137, allocations: 15.14 MB / 0.7557 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004418/1.142, allocations: 3.239 MB / 0.7588 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/1.146, allocations: 3.197 MB / 0.7619 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004844/1.147, allocations: 41.58 kB / 0.762 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007156/1.147, allocations: 1.039 MB / 0.763 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/1.148, allocations: 372.9 kB / 0.7634 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009093/1.149, allocations: 380.5 kB / 0.7637 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.919e-05/1.149, allocations: 343.1 kB / 0.764 GB, free: 172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003794/1.153, allocations: 3.306 MB / 0.7673 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/1.156, allocations: 3.516 MB / 0.7707 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02234/1.179, allocations: 9.528 MB / 0.78 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.179, allocations: 2.656 kB / 0.78 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009419/1.188, allocations: 6.744 MB / 0.7866 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/1.188, allocations: 8 kB / 0.7866 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.188, allocations: 10.56 kB / 0.7866 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/1.189, allocations: 455.1 kB / 0.7871 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009252/1.198, allocations: 1.072 MB / 0.7881 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006762/1.205, allocations: 8.378 MB / 0.7963 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/1.207, allocations: 59.95 kB / 0.7963 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004174/1.207, allocations: 279.9 kB / 0.7966 GB, free: 141.3 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.209, allocations: 0.6307 MB / 0.7972 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006779/1.209, allocations: 269.1 kB / 0.7975 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006831/1.216, allocations: 3.297 MB / 0.8007 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.216, allocations: 8 kB / 0.8007 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.216, allocations: 0 / 0.8007 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.216, allocations: 9.734 kB / 0.8007 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008216/1.224, allocations: 5.111 MB / 0.8057 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.224, allocations: 6.656 kB / 0.8057 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00605/1.231, allocations: 499.2 kB / 0.8062 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/1.232, allocations: 232.4 kB / 0.8064 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.645e-05/1.232, allocations: 27.98 kB / 0.8064 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00576/1.237, allocations: 6.405 MB / 0.8127 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002308/1.24, allocations: 1.853 MB / 0.8145 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/1.245, allocations: 2.318 MB / 0.8168 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.246, allocations: 364.8 kB / 0.8171 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/1.246, allocations: 30.2 kB / 0.8171 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.247, allocations: 47.95 kB / 0.8172 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/1.248, allocations: 96.38 kB / 0.8173 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/1.248, allocations: 35.98 kB / 0.8173 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004443/1.252, allocations: 4.012 MB / 0.8212 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.252, allocations: 0 / 0.8212 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00248/1.255, allocations: 0.6813 MB / 0.8219 GB, free: 114.7 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.005854/1.26, allocations: 3.156 MB / 0.825 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007504/1.268, allocations: 4.036 MB / 0.8289 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.268, allocations: 0 / 0.8289 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00416/1.272, allocations: 1.112 MB / 0.83 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/1.276, allocations: 0.6649 MB / 0.8307 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05262/1.328, allocations: 43.26 MB / 0.8729 GB, free: 62.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000986/1.329, allocations: 1.093 MB / 0.874 GB, free: 61.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001782/1.331, allocations: 0.5549 MB / 0.8745 GB, free: 60.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.332, allocations: 1.058 MB / 0.8755 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/1.332, allocations: 0 / 0.8755 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4349/1.767, allocations: 90.96 MB / 0.9644 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.87/21.64, allocations: 13.56 kB / 0.9644 GB, free: 189.6 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.95948261593003] Failed to read output from testmodel.py, exit status != 0: 21.86301083804574 21.875148789 21.169890513 Calling exit ...