Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00188/0.00188, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002257/0.002257, allocations: 215 kB / 23.04 MB, free: 5.082 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.1372/0.1372, allocations: 23.87 MB / 337.1 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 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.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",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.002046/0.002046, allocations: 59.91 kB / 472 MB, free: 7.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 59.87 MB / 0.5194 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01415/0.321, allocations: 14.96 MB / 0.534 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06854/0.3895, allocations: 49.42 MB / 0.5823 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.3924, allocations: 46.91 kB / 0.5823 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003626/0.396, allocations: 1.105 MB / 0.5834 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.012/0.408, allocations: 3.475 MB / 0.5868 GB, free: 4.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02433/0.4323, allocations: 7.071 MB / 0.5937 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007832/0.4402, allocations: 4.499 MB / 0.5981 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003421/0.4436, allocations: 1.913 MB / 0.6 GB, free: 7.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.4474, allocations: 2.092 MB / 0.602 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004394/0.4517, allocations: 2.332 MB / 0.6043 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.4532, allocations: 384 kB / 0.6046 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02095/0.4742, allocations: 5.585 MB / 0.6101 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.4759, allocations: 0.8801 MB / 0.611 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004089/0.48, allocations: 1.956 MB / 0.6129 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02996/0.51, allocations: 10.25 MB / 0.6229 GB, free: 15.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.51, allocations: 0 / 0.6229 GB, free: 15.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.51, allocations: 0 / 0.6229 GB, free: 15.69 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000266/0.5102, allocations: 0 / 0.6229 GB, free: 15.69 MB / 478.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.01335/0.5236, allocations: 4.744 MB / 0.6275 GB, free: 10.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5236, allocations: 8.031 kB / 0.6275 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001209/0.5238, allocations: 82.39 kB / 0.6276 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001149/0.5249, allocations: 422.4 kB / 0.628 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.53, allocations: 0.9308 MB / 0.6289 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004214/0.5342, allocations: 1.547 MB / 0.6304 GB, free: 7.855 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.5345, allocations: 234.6 kB / 0.6306 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.5356, allocations: 324.3 kB / 0.631 GB, free: 7.309 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.5458, allocations: 4.527 MB / 0.6354 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.556e-05/0.5459, allocations: 0 / 0.6354 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006184/0.5465, allocations: 128 kB / 0.6355 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/0.5466, allocations: 72 kB / 0.6356 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.5583, allocations: 6.478 MB / 0.6419 GB, free: 12.01 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.02917/0.5875, allocations: 12.64 MB / 0.6542 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008643/0.5962, allocations: 3.805 MB / 0.6579 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/0.5988, allocations: 1.171 MB / 0.6591 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/0.6171, allocations: 6.724 MB / 0.6657 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.6171, allocations: 55.98 kB / 0.6657 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.598e-06/0.6171, allocations: 4 kB / 0.6657 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04833/0.6655, allocations: 9.411 MB / 0.6749 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.6656, allocations: 132.7 kB / 0.675 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005678/0.6713, allocations: 3.389 MB / 0.6783 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004475/0.6717, allocations: 65.7 kB / 0.6784 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.6734, allocations: 1.641 MB / 0.68 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.6745, allocations: 0.8329 MB / 0.6808 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/0.6763, allocations: 0.6878 MB / 0.6815 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6764, allocations: 309.1 kB / 0.6818 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/0.6792, allocations: 1.417 MB / 0.6832 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/0.6831, allocations: 2.519 MB / 0.6856 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006049/0.6892, allocations: 3.623 MB / 0.6892 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/0.6892, allocations: 12 kB / 0.6892 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01503/0.7042, allocations: 5.055 MB / 0.6941 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.7043, allocations: 20 kB / 0.6941 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.092e-05/0.7044, allocations: 36 kB / 0.6942 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006005/0.7104, allocations: 0.7035 MB / 0.6949 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.7137, allocations: 0.8425 MB / 0.6957 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/0.7324, allocations: 10.94 MB / 0.7064 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/0.7355, allocations: 128 kB / 0.7065 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007162/0.7363, allocations: 199.9 kB / 0.7067 GB, free: 7.297 MB / 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.00172/0.738, allocations: 0.5401 MB / 0.7072 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/0.739, allocations: 266.3 kB / 0.7074 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.7518, allocations: 3.215 MB / 0.7106 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/0.7519, allocations: 24 kB / 0.7106 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/0.7519, allocations: 4 kB / 0.7106 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.932e-05/0.752, allocations: 11.95 kB / 0.7106 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.7578, allocations: 2.596 MB / 0.7132 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-05/0.7578, allocations: 8 kB / 0.7132 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.7599, allocations: 451.8 kB / 0.7136 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005897/0.7658, allocations: 0.6644 MB / 0.7142 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003958/0.7662, allocations: 83.95 kB / 0.7143 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.7828, allocations: 10.67 MB / 0.7247 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.7828, allocations: 4 kB / 0.7247 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2461/1.029, allocations: 4.148 MB / 0.7288 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007741/1.03, allocations: 255.6 kB / 0.729 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008509/1.03, allocations: 49.73 kB / 0.7291 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/1.033, allocations: 56.33 kB / 0.7291 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006448/1.033, allocations: 209.3 kB / 0.7293 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003301/1.034, allocations: 95.72 kB / 0.7294 GB, free: 174 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003451/1.037, allocations: 2.392 MB / 0.7318 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.037, allocations: 1.406 kB / 0.7318 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007056/1.044, allocations: 2.114 MB / 0.7338 GB, free: 173.8 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.0188/1.063, allocations: 6.918 MB / 0.7406 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006965/1.07, allocations: 3.648 MB / 0.7442 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.07, allocations: 1.156 kB / 0.7442 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003234/1.073, allocations: 1.774 MB / 0.7459 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/1.077, allocations: 0.5002 MB / 0.7464 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05487/1.132, allocations: 26.12 MB / 0.7719 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.133, allocations: 1.722 MB / 0.7736 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002593/1.136, allocations: 0.6188 MB / 0.7742 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/1.138, allocations: 1.429 MB / 0.7756 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.138, allocations: 0 / 0.7756 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1728/1.311, allocations: 96.74 MB / 0.87 GB, free: 57.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.31/23.62, allocations: 0 / 0.87 GB, free: 57.36 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.72962146496866] Failed to read output from testmodel.py, exit status != 0: 23.863239918020554 23.873882338 23.361119799 Calling exit ...