Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.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.001255/0.001255, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001377/0.001377, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.781 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.1298/0.1298, allocations: 23.93 MB / 336.4 MB, free: 11.02 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_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",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.001959/0.001959, allocations: 71.89 kB / 471.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3384, allocations: 59.87 MB / 0.5186 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006474/0.3448, allocations: 6.253 MB / 0.5247 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02362/0.3684, allocations: 19.19 MB / 0.5434 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.3698, allocations: 21.44 kB / 0.5435 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.3712, allocations: 407.1 kB / 0.5439 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.3768, allocations: 1.64 MB / 0.5455 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008526/0.3853, allocations: 2.839 MB / 0.5482 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.3884, allocations: 1.833 MB / 0.55 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.3896, allocations: 0.7702 MB / 0.5508 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.3908, allocations: 0.8786 MB / 0.5516 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.3923, allocations: 0.9554 MB / 0.5526 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.3925, allocations: 152.7 kB / 0.5527 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007389/0.3999, allocations: 2.255 MB / 0.5549 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.4005, allocations: 368.7 kB / 0.5553 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.4017, allocations: 0.6644 MB / 0.5559 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.4128, allocations: 4.243 MB / 0.5601 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4128, allocations: 0 / 0.5601 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4128, allocations: 0.9688 kB / 0.5601 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.4128, allocations: 0 / 0.5601 GB, free: 14.88 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004161/0.417, allocations: 2.055 MB / 0.5621 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.417, allocations: 8.031 kB / 0.5621 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/0.4172, allocations: 186 kB / 0.5622 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.4189, allocations: 391.1 kB / 0.5626 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.4203, allocations: 0.6964 MB / 0.5633 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.4204, allocations: 98.84 kB / 0.5634 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.4207, allocations: 128.3 kB / 0.5635 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.4234, allocations: 1.779 MB / 0.5653 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.4234, allocations: 0 / 0.5653 GB, free: 9.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.4236, allocations: 55.98 kB / 0.5653 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.4236, allocations: 35.94 kB / 0.5653 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.4272, allocations: 2.497 MB / 0.5678 GB, free: 7.16 MB / 414.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.00823/0.4354, allocations: 4.331 MB / 0.572 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003362/0.4388, allocations: 1.835 MB / 0.5738 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008003/0.4396, allocations: 0.4916 MB / 0.5743 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006204/0.4458, allocations: 2.695 MB / 0.5769 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.4458, allocations: 47.2 kB / 0.577 GB, free: 13.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.104e-06/0.4458, allocations: 0 / 0.577 GB, free: 13.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.0157/0.4615, allocations: 3.228 MB / 0.5801 GB, free: 10.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4616, allocations: 64.34 kB / 0.5802 GB, free: 10.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.4632, allocations: 1.354 MB / 0.5815 GB, free: 8.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.4632, allocations: 41.7 kB / 0.5815 GB, free: 8.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.4637, allocations: 0.7022 MB / 0.5822 GB, free: 8.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.464, allocations: 337.2 kB / 0.5825 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.4644, allocations: 291.4 kB / 0.5828 GB, free: 7.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4646, allocations: 365.8 kB / 0.5832 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/0.4654, allocations: 0.5154 MB / 0.5837 GB, free: 6.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.4666, allocations: 1.016 MB / 0.5847 GB, free: 5.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.4686, allocations: 1.445 MB / 0.5861 GB, free: 3.758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.4686, allocations: 4 kB / 0.5861 GB, free: 3.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004945/0.4735, allocations: 1.932 MB / 0.588 GB, free: 1.809 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.4736, allocations: 14.81 kB / 0.588 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.4736, allocations: 12 kB / 0.588 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/0.4758, allocations: 253.5 kB / 0.5882 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.477, allocations: 347.5 kB / 0.5886 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.4829, allocations: 3.647 MB / 0.5921 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.4841, allocations: 48 kB / 0.5922 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.4843, allocations: 79.97 kB / 0.5922 GB, free: 13.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005062/0.4848, allocations: 289.5 kB / 0.5925 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.485, allocations: 119.2 kB / 0.5926 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.4892, allocations: 1.252 MB / 0.5939 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.4892, allocations: 16 kB / 0.5939 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4892, allocations: 0 / 0.5939 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.4892, allocations: 7.969 kB / 0.5939 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.4907, allocations: 0.9288 MB / 0.5948 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4907, allocations: 0 / 0.5948 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/0.4914, allocations: 175.8 kB / 0.595 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.4936, allocations: 237.5 kB / 0.5952 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.4936, allocations: 27.98 kB / 0.5952 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005361/0.499, allocations: 3.518 MB / 0.5986 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.499, allocations: 12.02 kB / 0.5987 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/0.5035, allocations: 1.6 MB / 0.6002 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.5038, allocations: 99.33 kB / 0.6003 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.504, allocations: 24 kB / 0.6003 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.5045, allocations: 20 kB / 0.6004 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.5047, allocations: 80.73 kB / 0.6004 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.5048, allocations: 39.98 kB / 0.6005 GB, free: 4.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001114/0.5059, allocations: 0.9297 MB / 0.6014 GB, free: 3.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5059, allocations: 0 / 0.6014 GB, free: 3.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002497/0.5084, allocations: 0.8491 MB / 0.6022 GB, free: 2.637 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006724/0.5151, allocations: 3.072 MB / 0.6052 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.5175, allocations: 1.364 MB / 0.6065 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5175, allocations: 0 / 0.6065 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.5186, allocations: 0.6473 MB / 0.6072 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.5198, allocations: 242 kB / 0.6074 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/0.5385, allocations: 10.65 MB / 0.6178 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.539, allocations: 0.4923 MB / 0.6183 GB, free: 1.438 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008999/0.5399, allocations: 264 kB / 0.6185 GB, free: 1.184 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.5407, allocations: 0.5456 MB / 0.6191 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5407, allocations: 0 / 0.6191 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.6436, allocations: 41.15 MB / 0.6593 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.24, allocations: 6.438 kB / 0.6593 GB, free: 7.82 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.83021928500966] Failed to read output from testmodel.py, exit status != 0: 14.381239031004952 14.395680613 13.979832839 Calling exit ...