Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.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.001314/0.001314, allocations: 105.8 kB / 16.45 MB, free: 6.449 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.001438/0.001438, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.1431/0.1431, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",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.002123/0.002123, allocations: 71.89 kB / 466 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 59.81 MB / 0.5135 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01275/0.3184, allocations: 14.85 MB / 0.528 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.08037/0.3987, allocations: 49.33 MB / 0.5762 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006342/0.4051, allocations: 46.84 kB / 0.5762 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007031/0.4121, allocations: 1.103 MB / 0.5773 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02341/0.4355, allocations: 3.44 MB / 0.5806 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04228/0.4778, allocations: 6.997 MB / 0.5875 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.491, allocations: 4.51 MB / 0.5919 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00498/0.496, allocations: 1.912 MB / 0.5937 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005639/0.5016, allocations: 2.096 MB / 0.5958 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005095/0.5067, allocations: 2.316 MB / 0.598 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001795/0.5085, allocations: 384 kB / 0.5984 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02302/0.5315, allocations: 5.589 MB / 0.6039 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.5335, allocations: 0.8801 MB / 0.6047 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00462/0.5381, allocations: 1.956 MB / 0.6066 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03754/0.5757, allocations: 10.25 MB / 0.6167 GB, free: 1.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5757, allocations: 4 kB / 0.6167 GB, free: 1.211 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5757, allocations: 0 / 0.6167 GB, free: 1.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001749/0.5759, allocations: 0 / 0.6167 GB, free: 1.211 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.0117/0.5876, allocations: 4.812 MB / 0.6214 GB, free: 12.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5876, allocations: 8.031 kB / 0.6214 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000574/0.5882, allocations: 418.4 kB / 0.6218 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004404/0.5926, allocations: 0.9386 MB / 0.6227 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.5957, allocations: 1.623 MB / 0.6243 GB, free: 9.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.5959, allocations: 230.6 kB / 0.6245 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006067/0.5965, allocations: 328.3 kB / 0.6248 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008429/0.6049, allocations: 4.464 MB / 0.6292 GB, free: 4.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.773e-05/0.605, allocations: 3.938 kB / 0.6292 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003466/0.6053, allocations: 120 kB / 0.6293 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.6055, allocations: 79.98 kB / 0.6294 GB, free: 3.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.6175, allocations: 6.364 MB / 0.6356 GB, free: 13.6 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02965/0.6471, allocations: 12.66 MB / 0.6479 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008771/0.6559, allocations: 4.472 MB / 0.6523 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.6584, allocations: 1.172 MB / 0.6534 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02134/0.6797, allocations: 12.2 MB / 0.6654 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.6798, allocations: 56.19 kB / 0.6654 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 3.737e-06/0.6798, allocations: 0 / 0.6654 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=227): time 0.04749/0.7273, allocations: 9.873 MB / 0.6751 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.7274, allocations: 132.7 kB / 0.6752 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/0.7324, allocations: 3.319 MB / 0.6784 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003442/0.7328, allocations: 65.7 kB / 0.6785 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.7341, allocations: 1.637 MB / 0.6801 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.7352, allocations: 0.829 MB / 0.6809 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/0.7368, allocations: 0.6995 MB / 0.6816 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7369, allocations: 301.1 kB / 0.6819 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/0.7395, allocations: 1.385 MB / 0.6832 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/0.7432, allocations: 2.48 MB / 0.6856 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005912/0.7491, allocations: 3.584 MB / 0.6891 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-05/0.7491, allocations: 12 kB / 0.6891 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01499/0.7641, allocations: 4.976 MB / 0.694 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.7641, allocations: 20 kB / 0.694 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.857e-05/0.7642, allocations: 36 kB / 0.6941 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006308/0.7705, allocations: 0.7114 MB / 0.6948 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/0.7738, allocations: 0.8386 MB / 0.6956 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.7921, allocations: 11.55 MB / 0.7069 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/0.7951, allocations: 120 kB / 0.707 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/0.7958, allocations: 199.9 kB / 0.7072 GB, free: 152 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001539/0.7973, allocations: 0.5435 MB / 0.7077 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009112/0.7982, allocations: 270.2 kB / 0.7079 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.8099, allocations: 3.215 MB / 0.7111 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-05/0.81, allocations: 24 kB / 0.7111 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.81, allocations: 4 kB / 0.7111 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.649e-05/0.81, allocations: 11.95 kB / 0.7111 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/0.8153, allocations: 2.62 MB / 0.7137 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/0.8154, allocations: 4 kB / 0.7137 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/0.8173, allocations: 451.8 kB / 0.7141 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005773/0.8231, allocations: 0.6644 MB / 0.7148 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004478/0.8236, allocations: 79.97 kB / 0.7148 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2606/1.084, allocations: 11.28 MB / 0.7259 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.084, allocations: 3.906 kB / 0.7259 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.096, allocations: 4.157 MB / 0.7299 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000733/1.097, allocations: 333.6 kB / 0.7302 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004901/1.097, allocations: 54.22 kB / 0.7303 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.099, allocations: 54.98 kB / 0.7303 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005147/1.1, allocations: 193.2 kB / 0.7305 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/1.1, allocations: 97.48 kB / 0.7306 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00282/1.103, allocations: 2.34 MB / 0.7329 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.103, allocations: 1.859 kB / 0.7329 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006951/1.11, allocations: 2.112 MB / 0.735 GB, free: 169.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01773/1.127, allocations: 6.928 MB / 0.7417 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006782/1.134, allocations: 3.608 MB / 0.7453 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.134, allocations: 0 / 0.7453 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003075/1.137, allocations: 1.776 MB / 0.747 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/1.14, allocations: 0.5005 MB / 0.7475 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05145/1.192, allocations: 25.93 MB / 0.7728 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009965/1.193, allocations: 1.712 MB / 0.7745 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00221/1.195, allocations: 0.6146 MB / 0.7751 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/1.196, allocations: 1.431 MB / 0.7765 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.51e-07/1.196, allocations: 0 / 0.7765 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/1.341, allocations: 93.93 MB / 0.8682 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.94/22.29, allocations: 7.125 kB / 0.8682 GB, free: 54.16 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.12756015197374] Failed to read output from testmodel.py, exit status != 0: 22.444990899879485 22.45813404 21.879060876 Calling exit ...