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.00126/0.00126, allocations: 104.2 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.001312/0.001312, allocations: 210.4 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.1379/0.1379, allocations: 23.89 MB / 332.7 MB, free: 12.31 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_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.001998/0.001998, allocations: 70.25 kB / 466 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.331, allocations: 59.83 MB / 0.5136 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01398/0.3449, allocations: 14.86 MB / 0.5281 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06586/0.4108, allocations: 49.32 MB / 0.5762 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00385/0.4147, allocations: 45.91 kB / 0.5763 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004056/0.4187, allocations: 1.101 MB / 0.5773 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0136/0.4323, allocations: 3.443 MB / 0.5807 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02305/0.4554, allocations: 6.997 MB / 0.5875 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007817/0.4632, allocations: 4.499 MB / 0.5919 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00366/0.4668, allocations: 1.909 MB / 0.5938 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.4708, allocations: 2.104 MB / 0.5959 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.4751, allocations: 2.312 MB / 0.5981 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.4765, allocations: 384 kB / 0.5985 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02183/0.4983, allocations: 5.585 MB / 0.6039 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.5, allocations: 0.8878 MB / 0.6048 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.5041, allocations: 1.956 MB / 0.6067 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0273/0.5314, allocations: 10.24 MB / 0.6167 GB, free: 1.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.5314, allocations: 0 / 0.6167 GB, free: 1.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5314, allocations: 0 / 0.6167 GB, free: 1.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001062/0.5315, allocations: 4 kB / 0.6167 GB, free: 1.098 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.01002/0.5415, allocations: 4.812 MB / 0.6214 GB, free: 12.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.5416, allocations: 11.97 kB / 0.6214 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005331/0.5421, allocations: 422.4 kB / 0.6218 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.5462, allocations: 0.9346 MB / 0.6227 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.549, allocations: 1.623 MB / 0.6243 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.5492, allocations: 234.6 kB / 0.6246 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/0.5498, allocations: 324.3 kB / 0.6249 GB, free: 8.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007242/0.557, allocations: 4.457 MB / 0.6292 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.758e-05/0.5571, allocations: 7.984 kB / 0.6292 GB, free: 4.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.5574, allocations: 124 kB / 0.6293 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/0.5575, allocations: 79.98 kB / 0.6294 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009744/0.5672, allocations: 6.364 MB / 0.6356 GB, free: 13.48 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.02171/0.5889, allocations: 12.66 MB / 0.648 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007463/0.5964, allocations: 4.465 MB / 0.6524 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.5984, allocations: 1.179 MB / 0.6535 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0181/0.6165, allocations: 12.2 MB / 0.6654 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.6166, allocations: 56.19 kB / 0.6655 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 3.326e-06/0.6166, allocations: 0 / 0.6655 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=227): time 0.04224/0.6588, allocations: 9.878 MB / 0.6751 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.6589, allocations: 136.7 kB / 0.6752 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/0.6631, allocations: 3.319 MB / 0.6785 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/0.6634, allocations: 61.7 kB / 0.6785 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.6646, allocations: 1.641 MB / 0.6801 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008013/0.6654, allocations: 0.829 MB / 0.681 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.6664, allocations: 0.6917 MB / 0.6816 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6666, allocations: 305.1 kB / 0.6819 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.6688, allocations: 1.389 MB / 0.6833 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/0.6721, allocations: 2.476 MB / 0.6857 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005139/0.6772, allocations: 3.588 MB / 0.6892 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/0.6772, allocations: 12 kB / 0.6892 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01287/0.6901, allocations: 4.977 MB / 0.6941 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.6902, allocations: 26.75 kB / 0.6941 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.052e-05/0.6902, allocations: 36 kB / 0.6941 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005514/0.6957, allocations: 0.7035 MB / 0.6948 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.6986, allocations: 0.8424 MB / 0.6956 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.7151, allocations: 11.56 MB / 0.7069 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.7178, allocations: 120.1 kB / 0.707 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.7182, allocations: 195.9 kB / 0.7072 GB, free: 24 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.001126/0.7193, allocations: 0.5474 MB / 0.7078 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/0.72, allocations: 270.2 kB / 0.708 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.7308, allocations: 3.211 MB / 0.7112 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.7308, allocations: 24 kB / 0.7112 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.7309, allocations: 4 kB / 0.7112 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/0.7309, allocations: 16.03 kB / 0.7112 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.735, allocations: 2.609 MB / 0.7138 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.735, allocations: 4 kB / 0.7138 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.7366, allocations: 451.8 kB / 0.7142 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005447/0.7421, allocations: 0.6644 MB / 0.7148 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.7423, allocations: 79.97 kB / 0.7149 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2242/0.9665, allocations: 11.27 MB / 0.7259 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9665, allocations: 7.75 kB / 0.7259 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.978, allocations: 4.166 MB / 0.73 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/0.9789, allocations: 332.6 kB / 0.7303 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/0.9793, allocations: 46.23 kB / 0.7304 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.9807, allocations: 60.55 kB / 0.7304 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004904/0.9811, allocations: 197 kB / 0.7306 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/0.9813, allocations: 99.23 kB / 0.7307 GB, free: 170 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002685/0.984, allocations: 2.335 MB / 0.733 GB, free: 169 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.984, allocations: 0 / 0.733 GB, free: 169 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006385/0.9904, allocations: 2.118 MB / 0.735 GB, free: 168.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.01529/1.006, allocations: 6.916 MB / 0.7418 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005929/1.012, allocations: 3.606 MB / 0.7453 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.012, allocations: 1.75 kB / 0.7453 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/1.014, allocations: 1.769 MB / 0.747 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.017, allocations: 0.5255 MB / 0.7476 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04219/1.059, allocations: 25.92 MB / 0.7729 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/1.06, allocations: 1.714 MB / 0.7745 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00209/1.062, allocations: 0.6149 MB / 0.7751 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.063, allocations: 1.428 MB / 0.7765 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/1.063, allocations: 0 / 0.7765 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/1.195, allocations: 93.94 MB / 0.8683 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/20.27, allocations: 8 kB / 0.8683 GB, free: 53.42 MB / 0.5606 GB " [Timeout remaining time 640] (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: 23.0762074298691] Failed to read output from testmodel.py, exit status != 0: 20.419398756930605 20.434349522 19.899609482 Calling exit ...