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.001912/0.001912, allocations: 108.7 kB / 16.45 MB, free: 6.508 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.002168/0.002168, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1449/0.1449, allocations: 23.86 MB / 332.7 MB, free: 12.37 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_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.002191/0.002191, allocations: 71.89 kB / 466 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3427, allocations: 59.82 MB / 0.5135 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006674/0.3493, allocations: 7.042 MB / 0.5203 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02723/0.3766, allocations: 21.88 MB / 0.5417 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.3782, allocations: 22.66 kB / 0.5417 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.3803, allocations: 456.7 kB / 0.5422 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006496/0.3868, allocations: 1.662 MB / 0.5438 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008982/0.3958, allocations: 2.815 MB / 0.5465 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.3987, allocations: 1.835 MB / 0.5483 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3997, allocations: 0.7638 MB / 0.5491 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.4008, allocations: 0.8704 MB / 0.5499 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.4021, allocations: 0.9499 MB / 0.5509 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.4023, allocations: 153.2 kB / 0.551 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008356/0.4107, allocations: 2.353 MB / 0.5533 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.4112, allocations: 365.2 kB / 0.5536 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.4124, allocations: 0.7936 MB / 0.5544 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.4231, allocations: 4.254 MB / 0.5586 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4232, allocations: 0 / 0.5586 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4232, allocations: 0 / 0.5586 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.874e-05/0.4232, allocations: 1.438 kB / 0.5586 GB, free: 10.7 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.004488/0.4277, allocations: 2.13 MB / 0.5607 GB, free: 9.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4277, allocations: 10.03 kB / 0.5607 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000229/0.428, allocations: 176.6 kB / 0.5608 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.4297, allocations: 393.3 kB / 0.5612 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.4311, allocations: 0.7643 MB / 0.562 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-05/0.4312, allocations: 92.34 kB / 0.562 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.4314, allocations: 130.8 kB / 0.5622 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.4342, allocations: 1.762 MB / 0.5639 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.4342, allocations: 1.75 kB / 0.5639 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.4343, allocations: 54.03 kB / 0.5639 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.4344, allocations: 29.81 kB / 0.564 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.4381, allocations: 2.477 MB / 0.5664 GB, free: 4.777 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.008902/0.447, allocations: 5.12 MB / 0.5714 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/0.451, allocations: 2.179 MB / 0.5735 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/0.4519, allocations: 495.9 kB / 0.574 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008391/0.4603, allocations: 5.328 MB / 0.5792 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.4603, allocations: 39.22 kB / 0.5792 GB, free: 6.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.495e-06/0.4603, allocations: 4 kB / 0.5792 GB, free: 6.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01555/0.4759, allocations: 3.391 MB / 0.5826 GB, free: 3.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.4759, allocations: 64.41 kB / 0.5826 GB, free: 3.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.4778, allocations: 1.296 MB / 0.5839 GB, free: 1.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.4779, allocations: 41.69 kB / 0.5839 GB, free: 1.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/0.4785, allocations: 0.7022 MB / 0.5846 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.4788, allocations: 337.2 kB / 0.5849 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004946/0.4793, allocations: 291.4 kB / 0.5852 GB, free: 484 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.4795, allocations: 357.9 kB / 0.5855 GB, free: 120 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009781/0.4805, allocations: 0.5116 MB / 0.586 GB, free: 15.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.482, allocations: 1 MB / 0.587 GB, free: 14.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.4842, allocations: 1.433 MB / 0.5884 GB, free: 12.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.4842, allocations: 8 kB / 0.5884 GB, free: 12.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005419/0.4897, allocations: 1.912 MB / 0.5903 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.4897, allocations: 12 kB / 0.5903 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/0.4897, allocations: 12 kB / 0.5903 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/0.4918, allocations: 253.4 kB / 0.5906 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.4931, allocations: 347.5 kB / 0.5909 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/0.4995, allocations: 3.869 MB / 0.5947 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.5008, allocations: 48 kB / 0.5947 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.5011, allocations: 83.97 kB / 0.5948 GB, free: 5.906 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.0007187/0.5018, allocations: 292.3 kB / 0.5951 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.5022, allocations: 115.3 kB / 0.5952 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.5068, allocations: 1.244 MB / 0.5964 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.5068, allocations: 12 kB / 0.5964 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.5068, allocations: 0 / 0.5964 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.5068, allocations: 7.969 kB / 0.5964 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.5091, allocations: 1.094 MB / 0.5975 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5091, allocations: 4.031 kB / 0.5975 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.5099, allocations: 183.7 kB / 0.5977 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/0.512, allocations: 233.4 kB / 0.5979 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.5121, allocations: 31.98 kB / 0.5979 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005826/0.5179, allocations: 3.772 MB / 0.6016 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5179, allocations: 4.031 kB / 0.6016 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.5226, allocations: 1.596 MB / 0.6032 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.523, allocations: 184.4 kB / 0.6033 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.5232, allocations: 20 kB / 0.6034 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.5238, allocations: 20 kB / 0.6034 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.524, allocations: 80.83 kB / 0.6035 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/0.5241, allocations: 35.98 kB / 0.6035 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001291/0.5254, allocations: 0.914 MB / 0.6044 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5254, allocations: 0 / 0.6044 GB, free: 11.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00278/0.5281, allocations: 0.8491 MB / 0.6052 GB, free: 10.8 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.007292/0.5354, allocations: 3.067 MB / 0.6082 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.5381, allocations: 1.357 MB / 0.6095 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5381, allocations: 7.938 kB / 0.6095 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.5392, allocations: 0.6434 MB / 0.6102 GB, free: 5.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5407, allocations: 244.4 kB / 0.6104 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/0.5608, allocations: 10.59 MB / 0.6207 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/0.5616, allocations: 1.081 MB / 0.6218 GB, free: 9.102 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008974/0.5625, allocations: 256.1 kB / 0.622 GB, free: 8.855 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008012/0.5633, allocations: 0.5419 MB / 0.6226 GB, free: 8.312 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5633, allocations: 0 / 0.6226 GB, free: 8.312 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09468/0.658, allocations: 38.96 MB / 0.6606 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/17.18, allocations: 18.12 kB / 0.6606 GB, free: 1.582 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: 19.8994199980516] Failed to read output from testmodel.py, exit status != 0: 17.295592606067657 17.310329948 16.883816942 Calling exit ...