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.00155/0.00155, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001759/0.001759, allocations: 216.6 kB / 22.24 MB, free: 5.105 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.797 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.1357/0.1357, allocations: 23.92 MB / 336.4 MB, free: 10.92 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.002/0.002, allocations: 67.91 kB / 471.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 59.87 MB / 0.5186 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01206/0.3159, allocations: 12.93 MB / 0.5312 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05701/0.3729, allocations: 43.18 MB / 0.5734 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.3756, allocations: 43.62 kB / 0.5734 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.3786, allocations: 0.9963 MB / 0.5744 GB, free: 476 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.3894, allocations: 3.434 MB / 0.5778 GB, free: 13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02013/0.4096, allocations: 7.071 MB / 0.5847 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00783/0.4174, allocations: 4.502 MB / 0.5891 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.4202, allocations: 1.925 MB / 0.591 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.4232, allocations: 2.092 MB / 0.593 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.4267, allocations: 2.32 MB / 0.5953 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005982/0.4273, allocations: 384 kB / 0.5956 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/0.4433, allocations: 5.374 MB / 0.6009 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.4448, allocations: 0.884 MB / 0.6017 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00268/0.4475, allocations: 1.653 MB / 0.6034 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0234/0.4709, allocations: 10.21 MB / 0.6133 GB, free: 8.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4709, allocations: 0 / 0.6133 GB, free: 8.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4709, allocations: 0 / 0.6133 GB, free: 8.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.386e-05/0.471, allocations: 3.938 kB / 0.6133 GB, free: 8.41 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.009191/0.4802, allocations: 4.725 MB / 0.6179 GB, free: 3.625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4802, allocations: 16.03 kB / 0.618 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005456/0.4808, allocations: 426.3 kB / 0.6184 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/0.4849, allocations: 0.9307 MB / 0.6193 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.488, allocations: 1.551 MB / 0.6208 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.4882, allocations: 230.6 kB / 0.621 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005575/0.4887, allocations: 324.3 kB / 0.6213 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/0.496, allocations: 4.527 MB / 0.6257 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.03e-05/0.4961, allocations: 7.984 kB / 0.6257 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000319/0.4964, allocations: 124 kB / 0.6259 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.4965, allocations: 76 kB / 0.6259 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009638/0.5061, allocations: 6.415 MB / 0.6322 GB, free: 4.867 MB / 478.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.02325/0.5294, allocations: 10.83 MB / 0.6428 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00741/0.5368, allocations: 3.718 MB / 0.6464 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.539, allocations: 1.178 MB / 0.6476 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/0.555, allocations: 6.315 MB / 0.6537 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.5551, allocations: 59.98 kB / 0.6538 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.488e-06/0.5551, allocations: 0 / 0.6538 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04954/0.6046, allocations: 9.41 MB / 0.663 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.6047, allocations: 132.8 kB / 0.6631 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/0.6091, allocations: 3.474 MB / 0.6665 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.6094, allocations: 69.64 kB / 0.6666 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.6107, allocations: 1.645 MB / 0.6682 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008781/0.6115, allocations: 0.829 MB / 0.669 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.6127, allocations: 0.6839 MB / 0.6696 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6128, allocations: 313.1 kB / 0.6699 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.615, allocations: 1.417 MB / 0.6713 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/0.6182, allocations: 2.515 MB / 0.6738 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005241/0.6234, allocations: 3.623 MB / 0.6773 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/0.6235, allocations: 8 kB / 0.6773 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01454/0.638, allocations: 5.047 MB / 0.6823 GB, free: 176 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.638, allocations: 20 kB / 0.6823 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.878e-05/0.6381, allocations: 36 kB / 0.6823 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006475/0.6446, allocations: 0.7076 MB / 0.683 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.6479, allocations: 0.8424 MB / 0.6838 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.6654, allocations: 10.85 MB / 0.6944 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/0.6686, allocations: 116 kB / 0.6945 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/0.669, allocations: 195.9 kB / 0.6947 GB, free: 2.715 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.001256/0.6703, allocations: 0.5533 MB / 0.6952 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/0.671, allocations: 270.2 kB / 0.6955 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.6829, allocations: 3.211 MB / 0.6986 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.6829, allocations: 24 kB / 0.6987 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.6829, allocations: 4 kB / 0.6987 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.16e-05/0.683, allocations: 15.95 kB / 0.6987 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/0.6873, allocations: 2.207 MB / 0.7008 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.6873, allocations: 7.984 kB / 0.7008 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/0.6891, allocations: 447.8 kB / 0.7013 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00638/0.6955, allocations: 0.6644 MB / 0.7019 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003807/0.6959, allocations: 79.95 kB / 0.702 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/0.712, allocations: 10.57 MB / 0.7123 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.712, allocations: 4.062 kB / 0.7123 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/0.7249, allocations: 4.161 MB / 0.7164 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.726, allocations: 254.1 kB / 0.7166 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004257/0.7264, allocations: 59.92 kB / 0.7167 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.728, allocations: 55.98 kB / 0.7167 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/0.7284, allocations: 205.4 kB / 0.7169 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/0.7286, allocations: 95.95 kB / 0.717 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002947/0.7316, allocations: 2.393 MB / 0.7194 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7316, allocations: 0 / 0.7194 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006268/0.7379, allocations: 2.115 MB / 0.7214 GB, free: 6.426 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.2474/0.9852, allocations: 6.91 MB / 0.7282 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006495/0.9917, allocations: 3.643 MB / 0.7317 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/0.9917, allocations: 1.031 kB / 0.7317 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002725/0.9945, allocations: 1.772 MB / 0.7335 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.9972, allocations: 0.5083 MB / 0.734 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05493/1.052, allocations: 26.11 MB / 0.7595 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/1.053, allocations: 1.165 MB / 0.7606 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002678/1.056, allocations: 0.6144 MB / 0.7612 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.058, allocations: 1.428 MB / 0.7626 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.058, allocations: 0 / 0.7626 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/1.207, allocations: 98.62 MB / 0.8589 GB, free: 67.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/17.78, allocations: 8.062 kB / 0.8589 GB, free: 67.24 MB / 0.5606 GB " [Timeout remaining time 642] (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 os._exit(0), Time elapsed: 20.397675591986626] Failed to read output from testmodel.py, exit status != 0: 17.948469075985486 17.957609662 17.484315963 Calling exit ...