Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001719/0.001719, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001826/0.001826, allocations: 218 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1415/0.1415, allocations: 23.85 MB / 337.1 MB, free: 11.19 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_GasSolubility",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_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.00215/0.00215, allocations: 59.91 kB / 471.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3195, allocations: 59.86 MB / 0.5193 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01032/0.3298, allocations: 10.46 MB / 0.5296 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04294/0.3727, allocations: 33.14 MB / 0.5619 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.3751, allocations: 35.38 kB / 0.562 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.3776, allocations: 0.6911 MB / 0.5626 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009604/0.3872, allocations: 2.663 MB / 0.5652 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01571/0.403, allocations: 4.369 MB / 0.5695 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00662/0.4096, allocations: 3.016 MB / 0.5724 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.413, allocations: 1.373 MB / 0.5738 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003569/0.4165, allocations: 1.477 MB / 0.5752 GB, free: 308 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.4204, allocations: 1.641 MB / 0.5768 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009508/0.4214, allocations: 264 kB / 0.5771 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.4344, allocations: 3.662 MB / 0.5807 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.4355, allocations: 0.6037 MB / 0.5812 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002699/0.4382, allocations: 1.33 MB / 0.5825 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01797/0.4562, allocations: 6.833 MB / 0.5892 GB, free: 2.191 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4562, allocations: 0 / 0.5892 GB, free: 2.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4562, allocations: 0 / 0.5892 GB, free: 2.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.531e-05/0.4563, allocations: 0 / 0.5892 GB, free: 2.191 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.006827/0.4631, allocations: 3.234 MB / 0.5924 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4631, allocations: 8.031 kB / 0.5924 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.834e-05/0.4632, allocations: 60.42 kB / 0.5924 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000403/0.4636, allocations: 291.9 kB / 0.5927 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.4664, allocations: 0.5804 MB / 0.5933 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.4686, allocations: 1.077 MB / 0.5943 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.4688, allocations: 156.6 kB / 0.5945 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/0.4692, allocations: 220.3 kB / 0.5947 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/0.4742, allocations: 2.814 MB / 0.5974 GB, free: 9.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.4742, allocations: 4 kB / 0.5974 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.4744, allocations: 88 kB / 0.5975 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.4745, allocations: 48 kB / 0.5976 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006243/0.4807, allocations: 3.838 MB / 0.6013 GB, free: 5.59 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.01665/0.4974, allocations: 8.304 MB / 0.6094 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007089/0.5045, allocations: 3.322 MB / 0.6127 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.5064, allocations: 0.9114 MB / 0.6136 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.5202, allocations: 4.969 MB / 0.6184 GB, free: 3.727 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.582e-05/0.5203, allocations: 43.88 kB / 0.6185 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008801/0.5212, allocations: 190.6 kB / 0.6186 GB, free: 3.484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 8.907e-06/0.5212, allocations: 4 kB / 0.6186 GB, free: 3.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03096/0.5522, allocations: 6.185 MB / 0.6247 GB, free: 13.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.5522, allocations: 73.34 kB / 0.6248 GB, free: 13.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.5548, allocations: 1.691 MB / 0.6264 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002583/0.5551, allocations: 53.7 kB / 0.6265 GB, free: 11.42 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009202/0.556, allocations: 1.077 MB / 0.6275 GB, free: 10.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007941/0.5568, allocations: 0.6198 MB / 0.6281 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009663/0.5577, allocations: 476.8 kB / 0.6286 GB, free: 9.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5579, allocations: 313.1 kB / 0.6289 GB, free: 8.922 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.5595, allocations: 0.8052 MB / 0.6297 GB, free: 8.113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/0.5622, allocations: 1.608 MB / 0.6312 GB, free: 6.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004272/0.5665, allocations: 2.421 MB / 0.6336 GB, free: 3.359 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/0.5665, allocations: 11.94 kB / 0.6336 GB, free: 3.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009835/0.5763, allocations: 3.152 MB / 0.6367 GB, free: 180 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.5764, allocations: 16 kB / 0.6367 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.906e-05/0.5764, allocations: 28 kB / 0.6367 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/0.5803, allocations: 499 kB / 0.6372 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.5826, allocations: 0.5811 MB / 0.6378 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.595, allocations: 7.294 MB / 0.6449 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.5971, allocations: 83.98 kB / 0.645 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004655/0.5976, allocations: 147.9 kB / 0.6451 GB, free: 7.078 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.001088/0.5986, allocations: 417 kB / 0.6455 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005716/0.5992, allocations: 174.9 kB / 0.6457 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008532/0.6077, allocations: 2.404 MB / 0.648 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.6078, allocations: 20 kB / 0.648 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.6078, allocations: 4 kB / 0.648 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-05/0.6078, allocations: 11.97 kB / 0.6481 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/0.6115, allocations: 1.839 MB / 0.6498 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.6115, allocations: 0 / 0.6498 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.6131, allocations: 347.8 kB / 0.6502 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003843/0.6169, allocations: 458.9 kB / 0.6506 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/0.6173, allocations: 59.97 kB / 0.6507 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.6285, allocations: 7.122 MB / 0.6576 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.6285, allocations: 3.938 kB / 0.6576 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009402/0.6379, allocations: 3 MB / 0.6606 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005756/0.6384, allocations: 162.8 kB / 0.6607 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/0.6389, allocations: 43.98 kB / 0.6608 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.64, allocations: 36 kB / 0.6608 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/0.6405, allocations: 157.7 kB / 0.6609 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/0.6407, allocations: 75.97 kB / 0.661 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001795/0.6425, allocations: 1.145 MB / 0.6621 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6425, allocations: 0 / 0.6621 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004676/0.6472, allocations: 1.383 MB / 0.6635 GB, free: 3.621 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.01267/0.6599, allocations: 4.991 MB / 0.6684 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005033/0.6649, allocations: 2.392 MB / 0.6707 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6649, allocations: 0.875 kB / 0.6707 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.6673, allocations: 1.287 MB / 0.672 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.6693, allocations: 375.5 kB / 0.6723 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03748/0.7068, allocations: 16.58 MB / 0.6885 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.7083, allocations: 1.382 MB / 0.6899 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001916/0.7103, allocations: 441.6 kB / 0.6903 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/0.7119, allocations: 0.9478 MB / 0.6912 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/0.7119, allocations: 4 kB / 0.6912 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3762/1.088, allocations: 65.23 MB / 0.7549 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.71/21.8, allocations: 2.312 kB / 0.7549 GB, free: 173.6 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.808421908062883] Failed to read output from testmodel.py, exit status != 0: 22.019153582979925 22.036565431 21.576644171 Calling exit ...