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.00177/0.00177, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0024/0.0024, allocations: 215 kB / 22.25 MB, free: 5.125 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.961 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.1351/0.1351, allocations: 23.88 MB / 336.3 MB, free: 11.14 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.002122/0.002122, allocations: 59.91 kB / 471.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3225, allocations: 59.88 MB / 0.5187 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006947/0.3294, allocations: 7.076 MB / 0.5256 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0273/0.3567, allocations: 21.94 MB / 0.547 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.358, allocations: 21.44 kB / 0.547 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.3596, allocations: 451.9 kB / 0.5474 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005852/0.3655, allocations: 1.676 MB / 0.5491 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00916/0.3746, allocations: 2.847 MB / 0.5519 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003308/0.3779, allocations: 1.827 MB / 0.5536 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.3794, allocations: 0.7656 MB / 0.5544 GB, free: 200 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.3809, allocations: 0.8713 MB / 0.5552 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.3829, allocations: 0.9632 MB / 0.5562 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004717/0.3834, allocations: 152.2 kB / 0.5563 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008546/0.392, allocations: 2.342 MB / 0.5586 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006272/0.3926, allocations: 368.4 kB / 0.559 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.3942, allocations: 0.7927 MB / 0.5597 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.4063, allocations: 4.254 MB / 0.5639 GB, free: 10.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4063, allocations: 5.219 kB / 0.5639 GB, free: 10.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4063, allocations: 0 / 0.5639 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.344e-05/0.4064, allocations: 0 / 0.5639 GB, free: 10.86 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.005879/0.4123, allocations: 2.057 MB / 0.5659 GB, free: 9.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.4123, allocations: 9.156 kB / 0.5659 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004894/0.4128, allocations: 182.1 kB / 0.5661 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.415, allocations: 391.1 kB / 0.5665 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.4169, allocations: 0.6964 MB / 0.5671 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.38e-05/0.417, allocations: 98.78 kB / 0.5672 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/0.4173, allocations: 128.3 kB / 0.5674 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.4208, allocations: 1.783 MB / 0.5691 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.4208, allocations: 0 / 0.5691 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.421, allocations: 52 kB / 0.5691 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.421, allocations: 28 kB / 0.5692 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/0.4249, allocations: 2.52 MB / 0.5716 GB, free: 3.473 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.009827/0.4348, allocations: 5.105 MB / 0.5766 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.4383, allocations: 1.874 MB / 0.5784 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008745/0.4392, allocations: 498.7 kB / 0.5789 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00674/0.4459, allocations: 2.863 MB / 0.5817 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.446, allocations: 43.22 kB / 0.5818 GB, free: 8.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.094e-06/0.446, allocations: 0 / 0.5818 GB, free: 8.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01513/0.4611, allocations: 3.23 MB / 0.5849 GB, free: 5.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.4612, allocations: 60.41 kB / 0.585 GB, free: 5.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.463, allocations: 1.323 MB / 0.5863 GB, free: 4.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.4631, allocations: 41.7 kB / 0.5863 GB, free: 4.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/0.4636, allocations: 0.7023 MB / 0.587 GB, free: 3.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.464, allocations: 341.1 kB / 0.5873 GB, free: 3.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/0.4644, allocations: 287.4 kB / 0.5876 GB, free: 2.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4646, allocations: 361.8 kB / 0.5879 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008499/0.4654, allocations: 0.5232 MB / 0.5884 GB, free: 1.914 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.4667, allocations: 1.008 MB / 0.5894 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.4688, allocations: 1.441 MB / 0.5908 GB, free: 15.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.4688, allocations: 8 kB / 0.5908 GB, free: 15.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004992/0.4738, allocations: 1.932 MB / 0.5927 GB, free: 13.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.4738, allocations: 12 kB / 0.5927 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.4738, allocations: 16 kB / 0.5928 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.4759, allocations: 249.5 kB / 0.593 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.4771, allocations: 355.4 kB / 0.5933 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/0.4828, allocations: 3.666 MB / 0.5969 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.4841, allocations: 48 kB / 0.597 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/0.4843, allocations: 79.98 kB / 0.597 GB, free: 8.434 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.0006065/0.4849, allocations: 297.9 kB / 0.5973 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/0.4852, allocations: 119.2 kB / 0.5974 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/0.4893, allocations: 1.248 MB / 0.5987 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.4893, allocations: 8 kB / 0.5987 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4893, allocations: 144 / 0.5987 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.4893, allocations: 7.969 kB / 0.5987 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.4912, allocations: 1.069 MB / 0.5997 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.4912, allocations: 4 kB / 0.5997 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/0.4919, allocations: 175.7 kB / 0.5999 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001943/0.4938, allocations: 237.5 kB / 0.6001 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.4939, allocations: 27.98 kB / 0.6001 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005223/0.4992, allocations: 3.565 MB / 0.6036 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4992, allocations: 0 / 0.6036 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.5035, allocations: 1.6 MB / 0.6052 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.5039, allocations: 103.3 kB / 0.6053 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.5041, allocations: 24 kB / 0.6053 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.5048, allocations: 23.98 kB / 0.6053 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.505, allocations: 76.8 kB / 0.6054 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.505, allocations: 39.98 kB / 0.6054 GB, free: 15.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.5062, allocations: 0.9258 MB / 0.6063 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5062, allocations: 0 / 0.6063 GB, free: 14.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002846/0.5091, allocations: 0.8491 MB / 0.6072 GB, free: 13.69 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.006999/0.5161, allocations: 3.075 MB / 0.6102 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002583/0.5187, allocations: 1.368 MB / 0.6115 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5187, allocations: 0 / 0.6115 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5198, allocations: 0.6405 MB / 0.6121 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.5213, allocations: 248.5 kB / 0.6124 GB, free: 8.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/0.5416, allocations: 10.66 MB / 0.6228 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009132/0.5426, allocations: 1.081 MB / 0.6238 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009243/0.5435, allocations: 263.9 kB / 0.6241 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007948/0.5443, allocations: 0.5339 MB / 0.6246 GB, free: 11.12 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5443, allocations: 0 / 0.6246 GB, free: 11.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/0.6789, allocations: 40.08 MB / 0.6638 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.59, allocations: 3.984 kB / 0.6638 GB, free: 3.281 MB / 0.4981 GB " [Timeout remaining time 643] (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: 19.338524582097307] Failed to read output from testmodel.py, exit status != 0: 16.732321962015703 16.748879367 16.339019486 Calling exit ...