Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001641/0.001641, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.002216/0.002216, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1392/0.1392, allocations: 23.85 MB / 337.1 MB, free: 11.23 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_blood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_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.002024/0.002024, allocations: 63.89 kB / 471.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 59.86 MB / 0.5193 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007065/0.3328, allocations: 7.079 MB / 0.5263 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0273/0.3601, allocations: 21.94 MB / 0.5477 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.3613, allocations: 17.69 kB / 0.5477 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.3627, allocations: 460.1 kB / 0.5481 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006362/0.3691, allocations: 1.679 MB / 0.5498 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.3791, allocations: 2.844 MB / 0.5525 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003605/0.3827, allocations: 1.831 MB / 0.5543 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.3845, allocations: 0.7655 MB / 0.5551 GB, free: 276 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.3862, allocations: 0.8755 MB / 0.5559 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.3886, allocations: 0.9473 MB / 0.5569 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000561/0.3891, allocations: 152.7 kB / 0.557 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008825/0.3979, allocations: 2.35 MB / 0.5593 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006721/0.3986, allocations: 364.6 kB / 0.5597 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.4003, allocations: 0.7929 MB / 0.5604 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.4114, allocations: 4.262 MB / 0.5646 GB, free: 10.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4115, allocations: 0 / 0.5646 GB, free: 10.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4115, allocations: 1.25 kB / 0.5646 GB, free: 10.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.473e-05/0.4115, allocations: 3.984 kB / 0.5646 GB, free: 10.93 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.005365/0.4169, allocations: 2.044 MB / 0.5666 GB, free: 9.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4169, allocations: 14.14 kB / 0.5666 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.017e-05/0.417, allocations: 31.06 kB / 0.5666 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003237/0.4173, allocations: 182.1 kB / 0.5668 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.4193, allocations: 388 kB / 0.5672 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.4209, allocations: 0.7042 MB / 0.5679 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.932e-05/0.421, allocations: 90.84 kB / 0.568 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.4213, allocations: 136.2 kB / 0.5681 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/0.4246, allocations: 1.779 MB / 0.5698 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.4246, allocations: 0 / 0.5698 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.4248, allocations: 48 kB / 0.5699 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.4248, allocations: 28 kB / 0.5699 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.4289, allocations: 2.528 MB / 0.5724 GB, free: 3.598 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.009986/0.4389, allocations: 5.089 MB / 0.5773 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003947/0.4428, allocations: 1.886 MB / 0.5792 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.4439, allocations: 498.6 kB / 0.5796 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008191/0.4521, allocations: 2.867 MB / 0.5824 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.4522, allocations: 39.22 kB / 0.5825 GB, free: 8.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.908e-06/0.4522, allocations: 3.938 kB / 0.5825 GB, free: 8.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01556/0.4677, allocations: 3.234 MB / 0.5856 GB, free: 5.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.4678, allocations: 60.41 kB / 0.5857 GB, free: 5.648 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.4697, allocations: 1.319 MB / 0.587 GB, free: 4.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.4698, allocations: 41.7 kB / 0.587 GB, free: 4.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/0.4705, allocations: 0.7061 MB / 0.5877 GB, free: 3.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.4708, allocations: 333.2 kB / 0.588 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/0.4713, allocations: 291.4 kB / 0.5883 GB, free: 2.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4715, allocations: 361.9 kB / 0.5887 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009468/0.4725, allocations: 0.527 MB / 0.5892 GB, free: 2.035 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.474, allocations: 1.008 MB / 0.5902 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.4763, allocations: 1.445 MB / 0.5916 GB, free: 15.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.4763, allocations: 4 kB / 0.5916 GB, free: 15.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005374/0.4817, allocations: 1.924 MB / 0.5935 GB, free: 13.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.4817, allocations: 19.98 kB / 0.5935 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.4818, allocations: 16 kB / 0.5935 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.4838, allocations: 245.4 kB / 0.5937 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.4851, allocations: 351.5 kB / 0.5941 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/0.4913, allocations: 3.674 MB / 0.5976 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.4926, allocations: 48 kB / 0.5977 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.4928, allocations: 83.92 kB / 0.5978 GB, free: 8.551 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.000674/0.4935, allocations: 293.8 kB / 0.5981 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.4938, allocations: 119.2 kB / 0.5982 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/0.4981, allocations: 1.248 MB / 0.5994 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.4981, allocations: 8 kB / 0.5994 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4981, allocations: 4 kB / 0.5994 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.4981, allocations: 3.984 kB / 0.5994 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.5001, allocations: 1.066 MB / 0.6004 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.5001, allocations: 4 kB / 0.6004 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007627/0.5009, allocations: 183.8 kB / 0.6006 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.5029, allocations: 229.5 kB / 0.6008 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.503, allocations: 31.98 kB / 0.6009 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005701/0.5087, allocations: 3.553 MB / 0.6043 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.5087, allocations: 3.938 kB / 0.6043 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/0.5136, allocations: 1.6 MB / 0.6059 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.514, allocations: 103.3 kB / 0.606 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.5142, allocations: 20 kB / 0.606 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.5149, allocations: 32.06 kB / 0.6061 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.5151, allocations: 76.98 kB / 0.6061 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.5152, allocations: 43.98 kB / 0.6062 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001463/0.5167, allocations: 0.9297 MB / 0.6071 GB, free: 14.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5167, allocations: 0 / 0.6071 GB, free: 14.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00403/0.5207, allocations: 0.8491 MB / 0.6079 GB, free: 13.81 MB / 462.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.007519/0.5282, allocations: 3.074 MB / 0.6109 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002874/0.5311, allocations: 1.357 MB / 0.6122 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5311, allocations: 64 / 0.6122 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.5322, allocations: 0.6473 MB / 0.6129 GB, free: 8.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5336, allocations: 236.4 kB / 0.6131 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/0.5558, allocations: 10.67 MB / 0.6235 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009944/0.5568, allocations: 1.081 MB / 0.6246 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001134/0.5579, allocations: 259.9 kB / 0.6248 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009037/0.5588, allocations: 0.5417 MB / 0.6253 GB, free: 11.23 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5588, allocations: 4 kB / 0.6253 GB, free: 11.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09355/0.6524, allocations: 40.1 MB / 0.6645 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/17.25, allocations: 14.8 kB / 0.6645 GB, free: 3.371 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_blood_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility_blood.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.117694713990204] Failed to read output from testmodel.py, exit status != 0: 17.44889017508831 17.473497418 17.057324728 Calling exit ...