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.001351/0.001351, allocations: 116.1 kB / 17.16 MB, free: 5.906 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.001584/0.001584, allocations: 215 kB / 20.13 MB, free: 2.961 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.14/0.14, allocations: 23.89 MB / 333.4 MB, free: 1.18 MB / 254.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.002673/0.002673, allocations: 72.88 kB / 466.7 MB, free: 30.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09526, allocations: 59.83 MB / 0.5142 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01723/0.1125, allocations: 14.86 MB / 0.5287 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06167/0.1742, allocations: 49.32 MB / 0.5769 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.1762, allocations: 47.62 kB / 0.5769 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002973/0.1792, allocations: 1.097 MB / 0.578 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009677/0.1889, allocations: 3.445 MB / 0.5814 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02065/0.2095, allocations: 6.993 MB / 0.5882 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2233/0.4328, allocations: 4.484 MB / 0.5926 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.4353, allocations: 1.905 MB / 0.5945 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.4383, allocations: 2.104 MB / 0.5965 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004032/0.4423, allocations: 2.321 MB / 0.5988 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.4435, allocations: 382.7 kB / 0.5991 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01602/0.4595, allocations: 5.59 MB / 0.6046 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.4613, allocations: 0.881 MB / 0.6055 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002939/0.4642, allocations: 1.96 MB / 0.6074 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02229/0.4865, allocations: 10.25 MB / 0.6174 GB, free: 4.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4865, allocations: 0 / 0.6174 GB, free: 4.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4865, allocations: 0 / 0.6174 GB, free: 4.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001278/0.4866, allocations: 0 / 0.6174 GB, free: 4.426 MB / 446.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.009739/0.4964, allocations: 4.804 MB / 0.6221 GB, free: 2.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4964, allocations: 7.688 kB / 0.6221 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.986e-05/0.4965, allocations: 88.48 kB / 0.6222 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004746/0.497, allocations: 421.1 kB / 0.6226 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/0.501, allocations: 0.9345 MB / 0.6235 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.5035, allocations: 1.629 MB / 0.6251 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.5036, allocations: 233.7 kB / 0.6253 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005109/0.5041, allocations: 324.1 kB / 0.6256 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008935/0.513, allocations: 4.645 MB / 0.6301 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.5131, allocations: 3.375 kB / 0.6301 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003521/0.5134, allocations: 130.5 kB / 0.6303 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.5135, allocations: 75.31 kB / 0.6303 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.5238, allocations: 6.367 MB / 0.6366 GB, free: 10.99 MB / 462.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.02515/0.5489, allocations: 12.65 MB / 0.6489 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008081/0.557, allocations: 4.464 MB / 0.6533 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/0.5593, allocations: 1.175 MB / 0.6544 GB, free: 8.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01933/0.5786, allocations: 12.2 MB / 0.6663 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.5787, allocations: 56.23 kB / 0.6664 GB, free: 10.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=182): time 3.777e-06/0.5787, allocations: 0 / 0.6664 GB, free: 10.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.04472/0.6234, allocations: 9.877 MB / 0.676 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.6235, allocations: 128.8 kB / 0.6762 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004512/0.628, allocations: 3.319 MB / 0.6794 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003458/0.6283, allocations: 65.7 kB / 0.6795 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.6297, allocations: 1.642 MB / 0.6811 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.6307, allocations: 0.8309 MB / 0.6819 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.6319, allocations: 0.6917 MB / 0.6826 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6321, allocations: 308.3 kB / 0.6828 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.6345, allocations: 1.381 MB / 0.6842 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.638, allocations: 2.482 MB / 0.6866 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005275/0.6433, allocations: 3.587 MB / 0.6901 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/0.6433, allocations: 8 kB / 0.6901 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.0136/0.6569, allocations: 4.98 MB / 0.695 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.6569, allocations: 20 kB / 0.695 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.848e-05/0.657, allocations: 36.19 kB / 0.695 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005865/0.6628, allocations: 0.7108 MB / 0.6957 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.6661, allocations: 0.8363 MB / 0.6966 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.6837, allocations: 11.56 MB / 0.7078 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/0.6867, allocations: 117.8 kB / 0.708 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/0.6871, allocations: 195.9 kB / 0.7081 GB, free: 14.62 MB / 0.5294 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.001172/0.6883, allocations: 0.5482 MB / 0.7087 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006689/0.6889, allocations: 274.2 kB / 0.7089 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.7006, allocations: 3.214 MB / 0.7121 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/0.7006, allocations: 24 kB / 0.7121 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.7006, allocations: 4 kB / 0.7121 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.217e-05/0.7007, allocations: 15.95 kB / 0.7121 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.7059, allocations: 2.606 MB / 0.7147 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.7059, allocations: 4 kB / 0.7147 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/0.7078, allocations: 445 kB / 0.7151 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005766/0.7136, allocations: 0.6719 MB / 0.7157 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/0.7139, allocations: 79.95 kB / 0.7158 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/0.7305, allocations: 11.29 MB / 0.7269 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7305, allocations: 4.031 kB / 0.7269 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.7429, allocations: 4.166 MB / 0.7309 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008153/0.7437, allocations: 327.3 kB / 0.7312 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007015/0.7444, allocations: 59.92 kB / 0.7313 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.7462, allocations: 52 kB / 0.7313 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005419/0.7467, allocations: 200.9 kB / 0.7315 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/0.747, allocations: 95.95 kB / 0.7316 GB, free: 5.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00337/0.7503, allocations: 2.338 MB / 0.7339 GB, free: 3.391 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7503, allocations: 0 / 0.7339 GB, free: 3.391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007438/0.7578, allocations: 2.111 MB / 0.736 GB, free: 1.273 MB / 0.545 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.01877/0.7765, allocations: 6.913 MB / 0.7427 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007104/0.7836, allocations: 3.61 MB / 0.7462 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7836, allocations: 4 kB / 0.7463 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/0.7869, allocations: 1.767 MB / 0.748 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.7903, allocations: 0.4942 MB / 0.7485 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05826/0.8485, allocations: 25.93 MB / 0.7738 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/0.8507, allocations: 1.717 MB / 0.7755 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002824/0.8535, allocations: 0.6127 MB / 0.7761 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002524/0.8561, allocations: 1.424 MB / 0.7774 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of SimCode: time 1.213e-06/0.8561, allocations: 4 kB / 0.7775 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3964/1.252, allocations: 93.98 MB / 0.8692 GB, free: 167.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21/22.25, allocations: 6.5 kB / 0.8692 GB, free: 167.1 MB / 0.6231 GB " [Timeout remaining time 638] (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: 25.4013313910109] Failed to read output from testmodel.py, exit status != 0: 22.463349825993646 22.480084866 21.989819069 Calling exit ...