Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility.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.001731/0.001731, allocations: 110.1 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.002198/0.002198, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.464/1.464, 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.1514/0.1514, allocations: 23.88 MB / 337.1 MB, free: 11.2 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,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",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.002174/0.002174, allocations: 64.14 kB / 472 MB, free: 7.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 59.87 MB / 0.5194 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009551/0.327, allocations: 10.46 MB / 0.5296 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04306/0.3701, allocations: 33.13 MB / 0.562 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.3721, allocations: 35.62 kB / 0.562 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.3746, allocations: 0.6902 MB / 0.5627 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00905/0.3836, allocations: 2.664 MB / 0.5653 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01371/0.3973, allocations: 4.37 MB / 0.5695 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005276/0.4026, allocations: 3.018 MB / 0.5725 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.4049, allocations: 1.371 MB / 0.5738 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.4078, allocations: 1.484 MB / 0.5753 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/0.4112, allocations: 1.634 MB / 0.5769 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007585/0.4119, allocations: 264 kB / 0.5771 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.4243, allocations: 3.654 MB / 0.5807 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.4253, allocations: 0.6153 MB / 0.5813 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002429/0.4277, allocations: 1.326 MB / 0.5826 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01643/0.4442, allocations: 6.825 MB / 0.5892 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4442, allocations: 8 kB / 0.5892 GB, free: 2.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4442, allocations: 0 / 0.5892 GB, free: 2.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.944e-05/0.4443, allocations: 0 / 0.5892 GB, free: 2.445 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.007555/0.4518, allocations: 3.231 MB / 0.5924 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4519, allocations: 15.97 kB / 0.5924 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.557e-05/0.4519, allocations: 56.42 kB / 0.5925 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004456/0.4524, allocations: 291.9 kB / 0.5928 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.4552, allocations: 0.5843 MB / 0.5933 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.4577, allocations: 1.069 MB / 0.5944 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.4579, allocations: 164.6 kB / 0.5945 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/0.4583, allocations: 220.3 kB / 0.5947 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005263/0.4636, allocations: 2.821 MB / 0.5975 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.4636, allocations: 0 / 0.5975 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.4639, allocations: 84 kB / 0.5976 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/0.4639, allocations: 52 kB / 0.5976 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006624/0.4705, allocations: 3.831 MB / 0.6014 GB, free: 5.84 MB / 446.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.01694/0.4875, allocations: 8.312 MB / 0.6095 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006456/0.4939, allocations: 3.317 MB / 0.6127 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.4957, allocations: 0.9114 MB / 0.6136 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.5078, allocations: 4.969 MB / 0.6185 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.5079, allocations: 51.88 kB / 0.6185 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007184/0.5086, allocations: 182.6 kB / 0.6187 GB, free: 3.734 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.799e-06/0.5086, allocations: 0 / 0.6187 GB, free: 3.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02991/0.5385, allocations: 6.193 MB / 0.6247 GB, free: 13.51 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.5386, allocations: 73.41 kB / 0.6248 GB, free: 13.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.5409, allocations: 1.687 MB / 0.6264 GB, free: 11.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002421/0.5412, allocations: 57.7 kB / 0.6265 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008824/0.5421, allocations: 1.073 MB / 0.6275 GB, free: 10.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007965/0.5429, allocations: 0.6198 MB / 0.6282 GB, free: 9.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008141/0.5437, allocations: 472.8 kB / 0.6286 GB, free: 9.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5438, allocations: 317.1 kB / 0.6289 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.5454, allocations: 0.8092 MB / 0.6297 GB, free: 8.355 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.5478, allocations: 1.604 MB / 0.6313 GB, free: 6.387 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/0.5518, allocations: 2.424 MB / 0.6336 GB, free: 3.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.5519, allocations: 8 kB / 0.6336 GB, free: 3.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00924/0.5611, allocations: 3.148 MB / 0.6367 GB, free: 436 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.5611, allocations: 18.66 kB / 0.6367 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/0.5612, allocations: 24 kB / 0.6368 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/0.565, allocations: 494.9 kB / 0.6372 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.5673, allocations: 0.5928 MB / 0.6378 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.5793, allocations: 7.309 MB / 0.6449 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.5811, allocations: 83.98 kB / 0.645 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/0.5815, allocations: 139.9 kB / 0.6452 GB, free: 7.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009328/0.5824, allocations: 421 kB / 0.6456 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.5829, allocations: 178.9 kB / 0.6457 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00804/0.591, allocations: 2.392 MB / 0.6481 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.591, allocations: 20 kB / 0.6481 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.591, allocations: 0 / 0.6481 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.353e-05/0.591, allocations: 7.969 kB / 0.6481 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.5945, allocations: 1.835 MB / 0.6499 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.5945, allocations: 4 kB / 0.6499 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.596, allocations: 343.5 kB / 0.6502 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/0.5999, allocations: 459.2 kB / 0.6507 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000295/0.6002, allocations: 63.97 kB / 0.6507 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.6115, allocations: 7.122 MB / 0.6577 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.6115, allocations: 11.91 kB / 0.6577 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009481/0.6209, allocations: 2.996 MB / 0.6606 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.6215, allocations: 174.7 kB / 0.6608 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004364/0.6219, allocations: 32 kB / 0.6608 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.623, allocations: 40 kB / 0.6608 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/0.6234, allocations: 153.7 kB / 0.661 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/0.6235, allocations: 75.97 kB / 0.6611 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001665/0.6252, allocations: 1.149 MB / 0.6622 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6252, allocations: 0 / 0.6622 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004919/0.6301, allocations: 1.387 MB / 0.6635 GB, free: 3.863 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01303/0.6431, allocations: 4.991 MB / 0.6684 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00502/0.6482, allocations: 2.391 MB / 0.6707 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6482, allocations: 0 / 0.6707 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/0.6505, allocations: 1.284 MB / 0.672 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.6525, allocations: 360.6 kB / 0.6723 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/0.6883, allocations: 16.59 MB / 0.6885 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.6897, allocations: 1.382 MB / 0.6899 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001839/0.6916, allocations: 437.3 kB / 0.6903 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/0.6933, allocations: 0.9517 MB / 0.6912 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of SimCode: time 1.352e-06/0.6933, allocations: 0 / 0.6912 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3687/1.062, allocations: 65.23 MB / 0.7549 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.29/22.35, allocations: 11.44 kB / 0.755 GB, free: 174.2 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.351424574037082] Failed to read output from testmodel.py, exit status != 0: 22.563438181998208 22.58109845 22.133334797 Calling exit ...