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.001317/0.001317, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001417/0.001417, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.1376/0.1376, allocations: 23.89 MB / 332.7 MB, free: 12.3 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.001937/0.001937, allocations: 71.88 kB / 466 MB, free: 10.01 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 59.82 MB / 0.5135 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006867/0.3225, allocations: 7.04 MB / 0.5204 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02607/0.3486, allocations: 21.88 MB / 0.5418 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.3498, allocations: 21.62 kB / 0.5418 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.3512, allocations: 453.1 kB / 0.5422 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005735/0.357, allocations: 1.667 MB / 0.5439 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008958/0.3659, allocations: 2.81 MB / 0.5466 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002925/0.3688, allocations: 1.831 MB / 0.5484 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.3699, allocations: 0.7604 MB / 0.5491 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.371, allocations: 0.8745 MB / 0.55 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.3722, allocations: 0.9521 MB / 0.5509 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.3724, allocations: 153.1 kB / 0.5511 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008158/0.3806, allocations: 2.349 MB / 0.5534 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000427/0.381, allocations: 369.6 kB / 0.5537 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.3821, allocations: 0.785 MB / 0.5545 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.3934, allocations: 4.261 MB / 0.5586 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3934, allocations: 1.531 kB / 0.5586 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3934, allocations: 0 / 0.5586 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.929e-05/0.3934, allocations: 0 / 0.5586 GB, free: 10.68 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.004386/0.3978, allocations: 2.13 MB / 0.5607 GB, free: 9.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.3979, allocations: 9.938 kB / 0.5607 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002658/0.3981, allocations: 181.7 kB / 0.5609 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.3999, allocations: 387.4 kB / 0.5613 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.4012, allocations: 0.7688 MB / 0.562 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.4013, allocations: 92.34 kB / 0.5621 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.4015, allocations: 130.8 kB / 0.5622 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.4043, allocations: 1.766 MB / 0.564 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.4043, allocations: 1 kB / 0.564 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.4044, allocations: 46.69 kB / 0.564 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.4045, allocations: 29.75 kB / 0.564 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003662/0.4081, allocations: 2.485 MB / 0.5665 GB, free: 4.652 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.008432/0.4165, allocations: 5.12 MB / 0.5715 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.4202, allocations: 2.176 MB / 0.5736 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/0.421, allocations: 0.4886 MB / 0.5741 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.4285, allocations: 5.325 MB / 0.5793 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.4285, allocations: 43.22 kB / 0.5793 GB, free: 6.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.565e-06/0.4285, allocations: 0 / 0.5793 GB, free: 6.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01499/0.4435, allocations: 3.384 MB / 0.5826 GB, free: 3.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.4436, allocations: 64.41 kB / 0.5827 GB, free: 3.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.4452, allocations: 1.304 MB / 0.5839 GB, free: 1.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-05/0.4453, allocations: 41.64 kB / 0.584 GB, free: 1.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/0.4458, allocations: 0.7061 MB / 0.5847 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.4462, allocations: 333.2 kB / 0.585 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.4466, allocations: 291.4 kB / 0.5853 GB, free: 360 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4468, allocations: 365.8 kB / 0.5856 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008267/0.4476, allocations: 0.5076 MB / 0.5861 GB, free: 15.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.4489, allocations: 1 MB / 0.5871 GB, free: 14.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.4509, allocations: 1.437 MB / 0.5885 GB, free: 12.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4509, allocations: 8 kB / 0.5885 GB, free: 12.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004832/0.4557, allocations: 1.905 MB / 0.5904 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.4557, allocations: 8 kB / 0.5904 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.4558, allocations: 16 kB / 0.5904 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.4577, allocations: 253.5 kB / 0.5906 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4589, allocations: 351.5 kB / 0.591 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005829/0.4648, allocations: 3.857 MB / 0.5947 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.4659, allocations: 55.97 kB / 0.5948 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4661, allocations: 79.98 kB / 0.5949 GB, free: 5.789 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.000522/0.4666, allocations: 294.3 kB / 0.5951 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.4669, allocations: 115.2 kB / 0.5953 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/0.4709, allocations: 1.248 MB / 0.5965 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4709, allocations: 12 kB / 0.5965 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4709, allocations: 0 / 0.5965 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.4709, allocations: 3.984 kB / 0.5965 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.4726, allocations: 1.101 MB / 0.5976 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4726, allocations: 3.984 kB / 0.5976 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/0.4733, allocations: 179.7 kB / 0.5977 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.4752, allocations: 233.5 kB / 0.598 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.4753, allocations: 31.98 kB / 0.598 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00532/0.4806, allocations: 3.772 MB / 0.6017 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4806, allocations: 4.094 kB / 0.6017 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/0.4848, allocations: 1.6 MB / 0.6032 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.4852, allocations: 184.4 kB / 0.6034 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.4854, allocations: 16 kB / 0.6034 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.4859, allocations: 20 kB / 0.6035 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.4861, allocations: 76.97 kB / 0.6035 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.4862, allocations: 39.98 kB / 0.6036 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001127/0.4873, allocations: 0.914 MB / 0.6045 GB, free: 11.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4873, allocations: 4 kB / 0.6045 GB, free: 11.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002634/0.49, allocations: 0.8491 MB / 0.6053 GB, free: 10.67 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.006697/0.4967, allocations: 3.067 MB / 0.6083 GB, free: 7.559 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.4992, allocations: 1.351 MB / 0.6096 GB, free: 6.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4992, allocations: 4 kB / 0.6096 GB, free: 6.176 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5003, allocations: 0.6489 MB / 0.6102 GB, free: 5.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.5016, allocations: 231.1 kB / 0.6105 GB, free: 5.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.5205, allocations: 10.6 MB / 0.6208 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.5213, allocations: 1.081 MB / 0.6219 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009196/0.5222, allocations: 259.7 kB / 0.6221 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000779/0.523, allocations: 0.5419 MB / 0.6226 GB, free: 8.184 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.523, allocations: 0 / 0.6226 GB, free: 8.184 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09123/0.6142, allocations: 38.98 MB / 0.6607 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.51, allocations: 11.03 kB / 0.6607 GB, free: 1.465 MB / 0.4981 GB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 18.175692555960268] Failed to read output from testmodel.py, exit status != 0: 15.628117140149698 15.65216412 15.254073685 Calling exit ...