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.001429/0.001429, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002071/0.002071, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.1415/0.1415, allocations: 17.45 MB / 277 MB, free: 11.6 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.93e-05, allocations: 4.984 kB / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.009081/0.009111, allocations: 6.253 MB / 359.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02867/0.03778, allocations: 19.16 MB / 378.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.03895, allocations: 27.81 kB / 378.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.04041, allocations: 416.6 kB / 378.7 MB, free: 256 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.04586, allocations: 1.679 MB / 380.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008009/0.05387, allocations: 2.942 MB / 383.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003013/0.05688, allocations: 1.891 MB / 385.2 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.05813, allocations: 0.7897 MB / 386 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.0598, allocations: 1.209 MB / 387.2 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.06107, allocations: 0.7599 MB / 387.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.06132, allocations: 152 kB / 388.1 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006676/0.068, allocations: 2.222 MB / 390.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006614/0.06866, allocations: 374.8 kB / 390.7 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.06982, allocations: 0.5729 MB / 391.2 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.08153, allocations: 4.518 MB / 395.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.08154, allocations: 0 / 395.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.08154, allocations: 0 / 395.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.944e-05/0.08159, allocations: 0 / 395.8 MB, free: 15.07 MB / 330.7 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.004635/0.08623, allocations: 2.041 MB / 397.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.08627, allocations: 8.031 kB / 397.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.08844, allocations: 0.6343 MB / 398.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.08993, allocations: 0.7113 MB / 399.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.09003, allocations: 90.84 kB / 399.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.0903, allocations: 132.3 kB / 399.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.09352, allocations: 1.784 MB / 401.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.09354, allocations: 4.125 kB / 401.2 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.0937, allocations: 52.38 kB / 401.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.09373, allocations: 35.92 kB / 401.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/0.09817, allocations: 2.489 MB / 403.7 MB, free: 6.973 MB / 330.7 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.008976/0.1071, allocations: 4.2 MB / 407.9 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004227/0.1114, allocations: 1.858 MB / 409.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/0.1123, allocations: 0.4908 MB / 410.3 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1261/0.2385, allocations: 2.771 MB / 413 MB, free: 64.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2385, allocations: 39.31 kB / 413.1 MB, free: 64.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.314e-06/0.2385, allocations: 0 / 413.1 MB, free: 64.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.01529/0.2538, allocations: 3.263 MB / 416.3 MB, free: 63.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.2538, allocations: 61.75 kB / 416.4 MB, free: 63.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.2553, allocations: 1.288 MB / 417.7 MB, free: 63.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.2553, allocations: 40.48 kB / 417.7 MB, free: 63.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.2557, allocations: 0.7028 MB / 418.4 MB, free: 62.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.2559, allocations: 330.8 kB / 418.8 MB, free: 62.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.2563, allocations: 288.3 kB / 419 MB, free: 62.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.2564, allocations: 350.7 kB / 419.4 MB, free: 61.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008002/0.2572, allocations: 0.5251 MB / 419.9 MB, free: 61.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009329/0.2581, allocations: 1.009 MB / 420.9 MB, free: 60.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.2597, allocations: 1.452 MB / 422.4 MB, free: 59.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.2597, allocations: 7.844 kB / 422.4 MB, free: 59.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004297/0.264, allocations: 2.002 MB / 424.4 MB, free: 59.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.264, allocations: 12 kB / 424.4 MB, free: 59.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.264, allocations: 15.06 kB / 424.4 MB, free: 59.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00326/0.2673, allocations: 374.7 kB / 424.8 MB, free: 59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.2684, allocations: 348.8 kB / 425.1 MB, free: 58.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/0.2731, allocations: 3.605 MB / 428.7 MB, free: 55.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.2747, allocations: 50.8 kB / 428.8 MB, free: 55.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.2749, allocations: 83.22 kB / 428.9 MB, free: 55.81 MB / 330.7 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.0006744/0.2755, allocations: 294.4 kB / 429.1 MB, free: 55.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.2758, allocations: 128.4 kB / 429.3 MB, free: 55.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.2794, allocations: 1.242 MB / 430.5 MB, free: 54.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2794, allocations: 12 kB / 430.5 MB, free: 54.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2794, allocations: 0 / 430.5 MB, free: 54.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2794, allocations: 3.609 kB / 430.5 MB, free: 54.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2806, allocations: 0.8203 MB / 431.3 MB, free: 53.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2806, allocations: 4 kB / 431.3 MB, free: 53.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.2812, allocations: 175.1 kB / 431.5 MB, free: 53.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/0.2844, allocations: 360.2 kB / 431.9 MB, free: 53.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-05/0.2844, allocations: 31.47 kB / 431.9 MB, free: 53.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004089/0.2885, allocations: 3.494 MB / 435.4 MB, free: 49.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2885, allocations: 0 / 435.4 MB, free: 49.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003861/0.2924, allocations: 1.623 MB / 437 MB, free: 47.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.2926, allocations: 99.28 kB / 437.1 MB, free: 47.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2928, allocations: 19.98 kB / 437.1 MB, free: 47.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.2933, allocations: 24 kB / 437.2 MB, free: 47.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.2935, allocations: 80.8 kB / 437.2 MB, free: 47.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.2935, allocations: 35.98 kB / 437.3 MB, free: 47.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007346/0.2943, allocations: 0.8817 MB / 438.2 MB, free: 46.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2943, allocations: 0 / 438.2 MB, free: 46.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00236/0.2966, allocations: 0.8531 MB / 439 MB, free: 46 MB / 330.7 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.001732/0.2984, allocations: 1.071 MB / 440.1 MB, free: 45.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.3003, allocations: 1.357 MB / 441.4 MB, free: 43.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3003, allocations: 4.125 kB / 441.4 MB, free: 43.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008117/0.3012, allocations: 0.6432 MB / 442.1 MB, free: 43.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.3024, allocations: 251.3 kB / 442.3 MB, free: 42.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.3051, allocations: 2.068 MB / 444.4 MB, free: 40.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3054, allocations: 500 kB / 444.9 MB, free: 40.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007999/0.3062, allocations: 252.2 kB / 445.1 MB, free: 39.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.3065, allocations: 175.9 kB / 445.3 MB, free: 39.74 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3065, allocations: 0 / 445.3 MB, free: 39.74 MB / 330.7 MB Notification: Performance of Templates: time 0.0331/0.3396, allocations: 28.74 MB / 474 MB, free: 11.23 MB / 330.7 MB " [Timeout remaining time 660] 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: 5.837906686007045]