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.001363/0.001363, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00152/0.00152, allocations: 215.1 kB / 22.25 MB, free: 5.258 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.789 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.1444/0.1444, allocations: 23.93 MB / 336.3 MB, free: 11.01 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: translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood") [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.002046/0.002046, allocations: 67.89 kB / 471.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 59.87 MB / 0.5191 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007299/0.3333, allocations: 6.255 MB / 0.5252 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02584/0.3591, allocations: 19.19 MB / 0.5439 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3605, allocations: 22.81 kB / 0.544 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3619, allocations: 405.4 kB / 0.5443 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005459/0.3674, allocations: 1.638 MB / 0.5459 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009029/0.3764, allocations: 2.843 MB / 0.5487 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003191/0.3796, allocations: 1.83 MB / 0.5505 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.3808, allocations: 0.7685 MB / 0.5513 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.3822, allocations: 0.8753 MB / 0.5521 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.3839, allocations: 0.9556 MB / 0.553 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.3842, allocations: 152.3 kB / 0.5532 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007501/0.3917, allocations: 2.26 MB / 0.5554 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005421/0.3922, allocations: 364.6 kB / 0.5557 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.3933, allocations: 0.6686 MB / 0.5564 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.404, allocations: 4.247 MB / 0.5605 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.404, allocations: 0 / 0.5605 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.404, allocations: 0 / 0.5605 GB, free: 14.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.404, allocations: 4 kB / 0.5605 GB, free: 14.99 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.0043/0.4083, allocations: 2.041 MB / 0.5625 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4084, allocations: 19.97 kB / 0.5626 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.4102, allocations: 391.1 kB / 0.5629 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.4119, allocations: 0.7041 MB / 0.5636 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.412, allocations: 90.84 kB / 0.5637 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.4122, allocations: 128.3 kB / 0.5638 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.4153, allocations: 1.787 MB / 0.5656 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.4153, allocations: 0 / 0.5656 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.4155, allocations: 51.94 kB / 0.5656 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.4155, allocations: 32 kB / 0.5657 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003909/0.4194, allocations: 2.493 MB / 0.5681 GB, free: 7.285 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.009209/0.4286, allocations: 4.176 MB / 0.5722 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/0.4323, allocations: 1.835 MB / 0.574 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009476/0.4333, allocations: 498.7 kB / 0.5744 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006841/0.4401, allocations: 2.693 MB / 0.5771 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.4401, allocations: 39.22 kB / 0.5771 GB, free: 13.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.444e-06/0.4401, allocations: 0 / 0.5771 GB, free: 13.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01753/0.4577, allocations: 3.222 MB / 0.5802 GB, free: 10.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.4577, allocations: 64.41 kB / 0.5803 GB, free: 10.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.4594, allocations: 1.282 MB / 0.5816 GB, free: 9.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.4595, allocations: 45.7 kB / 0.5816 GB, free: 9.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.4601, allocations: 0.7139 MB / 0.5823 GB, free: 8.535 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.4604, allocations: 333.2 kB / 0.5826 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004646/0.4609, allocations: 299.3 kB / 0.5829 GB, free: 7.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.4611, allocations: 341.9 kB / 0.5832 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/0.462, allocations: 0.5271 MB / 0.5837 GB, free: 7.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.4634, allocations: 1.012 MB / 0.5847 GB, free: 5.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.4656, allocations: 1.445 MB / 0.5861 GB, free: 4.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.4656, allocations: 4 kB / 0.5861 GB, free: 4.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005415/0.471, allocations: 1.928 MB / 0.588 GB, free: 2.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4711, allocations: 8 kB / 0.588 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.4711, allocations: 19.98 kB / 0.5881 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/0.4735, allocations: 249.6 kB / 0.5883 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.4748, allocations: 347.5 kB / 0.5886 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006516/0.4813, allocations: 3.601 MB / 0.5921 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.4826, allocations: 55.97 kB / 0.5922 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.4828, allocations: 79.98 kB / 0.5923 GB, free: 13.66 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.0005614/0.4834, allocations: 290.4 kB / 0.5926 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.4836, allocations: 107.3 kB / 0.5927 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004532/0.4881, allocations: 1.248 MB / 0.5939 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4881, allocations: 8 kB / 0.5939 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4881, allocations: 4 kB / 0.5939 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.4882, allocations: 11.91 kB / 0.5939 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.4897, allocations: 0.8156 MB / 0.5947 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4897, allocations: 0 / 0.5947 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007646/0.4904, allocations: 179.8 kB / 0.5949 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.4927, allocations: 221.6 kB / 0.5951 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.212e-05/0.4928, allocations: 35.98 kB / 0.5951 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005759/0.4986, allocations: 3.484 MB / 0.5985 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4986, allocations: 0 / 0.5985 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004944/0.5035, allocations: 1.592 MB / 0.6001 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.5039, allocations: 91.38 kB / 0.6002 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.504, allocations: 23.94 kB / 0.6002 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.5046, allocations: 24 kB / 0.6002 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.5048, allocations: 76.98 kB / 0.6003 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.5049, allocations: 39.98 kB / 0.6003 GB, free: 5.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001232/0.5062, allocations: 0.8817 MB / 0.6012 GB, free: 4.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5062, allocations: 0 / 0.6012 GB, free: 4.242 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00305/0.5092, allocations: 0.853 MB / 0.602 GB, free: 3.387 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.002185/0.5114, allocations: 1.042 MB / 0.603 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.514, allocations: 1.356 MB / 0.6043 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.514, allocations: 0.875 kB / 0.6043 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.5151, allocations: 0.6475 MB / 0.605 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5164, allocations: 231.7 kB / 0.6052 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.5204, allocations: 2.134 MB / 0.6073 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.521, allocations: 496 kB / 0.6078 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.5221, allocations: 259.4 kB / 0.608 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/0.5225, allocations: 174.8 kB / 0.6082 GB, free: 12.95 MB / 462.1 MB Notification: Performance of SimCode: time 1.783e-06/0.5225, allocations: 0 / 0.6082 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Templates: time 0.05046/0.5729, allocations: 30.69 MB / 0.6381 GB, free: 14.45 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.121985519770533] Failed to read output from testmodel.py, exit status != 0: 0.5816860143095255 0.596766431 0.189422108 Calling exit ...