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.00136/0.00136, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001665/0.001665, allocations: 211.3 kB / 23.03 MB, free: 4.926 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1387/0.1387, allocations: 23.91 MB / 337.1 MB, free: 11.03 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_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",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.002079/0.002079, allocations: 59.91 kB / 471.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3198, allocations: 59.87 MB / 0.5193 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006943/0.3267, allocations: 6.26 MB / 0.5255 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02439/0.3511, allocations: 19.17 MB / 0.5442 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3524, allocations: 21.44 kB / 0.5442 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.3538, allocations: 412.2 kB / 0.5446 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005819/0.3597, allocations: 1.628 MB / 0.5462 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009985/0.3697, allocations: 2.85 MB / 0.549 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.373, allocations: 1.826 MB / 0.5507 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.3744, allocations: 0.7668 MB / 0.5515 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.3759, allocations: 0.8706 MB / 0.5523 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.3776, allocations: 0.955 MB / 0.5533 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.3779, allocations: 152.9 kB / 0.5534 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008003/0.3859, allocations: 2.261 MB / 0.5556 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007288/0.3866, allocations: 363.8 kB / 0.556 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.388, allocations: 0.6686 MB / 0.5566 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.4003, allocations: 4.243 MB / 0.5608 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4003, allocations: 3.938 kB / 0.5608 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4003, allocations: 3.938 kB / 0.5608 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.118e-05/0.4004, allocations: 0 / 0.5608 GB, free: 14.85 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.005434/0.4058, allocations: 2.05 MB / 0.5628 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4058, allocations: 8.031 kB / 0.5628 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.835e-05/0.4059, allocations: 34.66 kB / 0.5628 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002739/0.4062, allocations: 186 kB / 0.563 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.4082, allocations: 387.3 kB / 0.5634 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.4098, allocations: 0.6964 MB / 0.5641 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-05/0.4099, allocations: 94.84 kB / 0.5641 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.4102, allocations: 128.3 kB / 0.5643 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/0.4134, allocations: 1.779 MB / 0.566 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.4134, allocations: 0 / 0.566 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.4135, allocations: 52 kB / 0.5661 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.4136, allocations: 32 kB / 0.5661 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.4176, allocations: 2.52 MB / 0.5685 GB, free: 7.184 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.009121/0.4267, allocations: 4.332 MB / 0.5728 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.4306, allocations: 1.843 MB / 0.5746 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009199/0.4315, allocations: 497.9 kB / 0.5751 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006837/0.4383, allocations: 2.711 MB / 0.5777 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.4384, allocations: 39.22 kB / 0.5777 GB, free: 13.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.4384, allocations: 0 / 0.5777 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01674/0.4551, allocations: 3.236 MB / 0.5809 GB, free: 10.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.4552, allocations: 60.41 kB / 0.581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.4571, allocations: 1.331 MB / 0.5823 GB, free: 8.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.4572, allocations: 41.7 kB / 0.5823 GB, free: 8.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006257/0.4578, allocations: 0.7022 MB / 0.583 GB, free: 8.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.4582, allocations: 329.2 kB / 0.5833 GB, free: 7.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004995/0.4587, allocations: 295.4 kB / 0.5836 GB, free: 7.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.4589, allocations: 361.9 kB / 0.5839 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009774/0.4599, allocations: 0.5193 MB / 0.5844 GB, free: 6.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.4614, allocations: 1.008 MB / 0.5854 GB, free: 5.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.4635, allocations: 1.445 MB / 0.5868 GB, free: 3.805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.4636, allocations: 4 kB / 0.5868 GB, free: 3.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005459/0.469, allocations: 1.932 MB / 0.5887 GB, free: 1.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.469, allocations: 12 kB / 0.5887 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/0.4691, allocations: 16 kB / 0.5887 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.4714, allocations: 253.5 kB / 0.589 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.4726, allocations: 351.5 kB / 0.5893 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006209/0.4789, allocations: 3.635 MB / 0.5929 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.48, allocations: 48 kB / 0.5929 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.4802, allocations: 87.91 kB / 0.593 GB, free: 13.23 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.0005365/0.4807, allocations: 285.9 kB / 0.5933 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.481, allocations: 119.1 kB / 0.5934 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/0.4857, allocations: 1.241 MB / 0.5946 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/0.4857, allocations: 19.97 kB / 0.5946 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4857, allocations: 4 kB / 0.5946 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4857, allocations: 3.984 kB / 0.5946 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.4877, allocations: 0.933 MB / 0.5955 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.4877, allocations: 8 kB / 0.5955 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/0.4885, allocations: 175.8 kB / 0.5957 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.4907, allocations: 233.5 kB / 0.5959 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.573e-05/0.4907, allocations: 27.98 kB / 0.596 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005684/0.4964, allocations: 3.522 MB / 0.5994 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4964, allocations: 4.031 kB / 0.5994 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/0.5011, allocations: 1.6 MB / 0.601 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.5015, allocations: 99.33 kB / 0.6011 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.5017, allocations: 24 kB / 0.6011 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/0.5023, allocations: 20 kB / 0.6011 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.5025, allocations: 76.8 kB / 0.6012 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/0.5025, allocations: 39.98 kB / 0.6012 GB, free: 4.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001233/0.5038, allocations: 0.9297 MB / 0.6021 GB, free: 3.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5038, allocations: 3.938 kB / 0.6021 GB, free: 3.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003064/0.5068, allocations: 0.8491 MB / 0.6029 GB, free: 2.684 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.007697/0.5145, allocations: 3.075 MB / 0.606 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002777/0.5173, allocations: 1.36 MB / 0.6073 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5173, allocations: 0 / 0.6073 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.5185, allocations: 0.6434 MB / 0.6079 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5199, allocations: 230.8 kB / 0.6081 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/0.541, allocations: 10.67 MB / 0.6185 GB, free: 2.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.5416, allocations: 496.2 kB / 0.619 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.5426, allocations: 271.2 kB / 0.6193 GB, free: 1.227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008114/0.5434, allocations: 0.5417 MB / 0.6198 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5434, allocations: 3.938 kB / 0.6198 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08588/0.6293, allocations: 40.74 MB / 0.6596 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.37/18, allocations: 6.875 kB / 0.6596 GB, free: 8.336 MB / 0.4981 GB " [Timeout remaining time 642] (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: 20.739152702968568] Failed to read output from testmodel.py, exit status != 0: 18.199779868940823 18.225855257 17.820082879 Calling exit ...