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.0007549/0.0007549, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000789/0.000789, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8315/0.8315, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.0825/0.0825, allocations: 17.44 MB / 277.4 MB, free: 11.79 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.153e-06/1.153e-06, allocations: 0 / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.626e-05, allocations: 10.22 kB / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.004656/0.004673, allocations: 6.231 MB / 419.1 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.01711, allocations: 19.18 MB / 438.3 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.01744, allocations: 23.81 kB / 438.3 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.01807, allocations: 412.6 kB / 438.7 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.01997, allocations: 1.687 MB / 440.4 MB, free: 4.109 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.02341, allocations: 2.931 MB / 443.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1368/0.1602, allocations: 1.887 MB / 445.2 MB, free: 46.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007644/0.161, allocations: 0.7591 MB / 446 MB, free: 45.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.1618, allocations: 1.209 MB / 447.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006612/0.1625, allocations: 0.7608 MB / 447.9 MB, free: 45.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.1627, allocations: 154.5 kB / 448.1 MB, free: 45.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.1662, allocations: 2.216 MB / 450.3 MB, free: 45.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1664, allocations: 366.8 kB / 450.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.1668, allocations: 0.5743 MB / 451.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.1706, allocations: 4.518 MB / 455.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1706, allocations: 0 / 455.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1706, allocations: 5.344 kB / 455.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.1706, allocations: 0 / 455.8 MB, free: 45.34 MB / 410.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.001884/0.1725, allocations: 2.04 MB / 457.8 MB, free: 44.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1725, allocations: 9.375 kB / 457.8 MB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.1733, allocations: 383.4 kB / 458.2 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.174, allocations: 0.6999 MB / 458.9 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.1741, allocations: 96.12 kB / 459 MB, free: 44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1742, allocations: 127.7 kB / 459.1 MB, free: 44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.1756, allocations: 1.777 MB / 460.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1756, allocations: 1.062 kB / 460.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.1757, allocations: 53.59 kB / 460.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1757, allocations: 36.27 kB / 461 MB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.1776, allocations: 2.492 MB / 463.5 MB, free: 42.8 MB / 410.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.003806/0.1814, allocations: 4.176 MB / 467.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.1831, allocations: 1.844 MB / 469.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.1835, allocations: 494.3 kB / 470 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002764/0.1863, allocations: 2.68 MB / 472.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.1863, allocations: 46.12 kB / 472.7 MB, free: 38.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 1.603e-06/0.1863, allocations: 2.812 kB / 472.7 MB, free: 38.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.006505/0.1928, allocations: 3.23 MB / 475.9 MB, free: 37.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1928, allocations: 61.62 kB / 476 MB, free: 37.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/0.1937, allocations: 1.291 MB / 477.3 MB, free: 37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1937, allocations: 41.83 kB / 477.3 MB, free: 36.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1939, allocations: 0.7044 MB / 478 MB, free: 36.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.194, allocations: 328.5 kB / 478.3 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.1943, allocations: 288.8 kB / 478.6 MB, free: 36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.1943, allocations: 356.2 kB / 479 MB, free: 35.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.1949, allocations: 0.5234 MB / 479.5 MB, free: 35.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/0.1955, allocations: 1.006 MB / 480.5 MB, free: 34.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.1966, allocations: 1.446 MB / 481.9 MB, free: 33.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.1966, allocations: 3.625 kB / 481.9 MB, free: 33.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002495/0.1991, allocations: 1.932 MB / 483.9 MB, free: 33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1992, allocations: 15.97 kB / 483.9 MB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.1992, allocations: 16.25 kB / 483.9 MB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008499/0.2, allocations: 244.4 kB / 484.1 MB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.2006, allocations: 354.3 kB / 484.5 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.2032, allocations: 3.581 MB / 488.1 MB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.2036, allocations: 51.5 kB / 488.1 MB, free: 29.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/0.2037, allocations: 78.23 kB / 488.2 MB, free: 29.8 MB / 410.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.0003115/0.204, allocations: 297.7 kB / 488.5 MB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2041, allocations: 102.8 kB / 488.6 MB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.2061, allocations: 1.241 MB / 489.8 MB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2061, allocations: 9.188 kB / 489.8 MB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2061, allocations: 1.188 kB / 489.8 MB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2061, allocations: 8.078 kB / 489.8 MB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.2068, allocations: 0.8285 MB / 490.7 MB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2068, allocations: 6.312 kB / 490.7 MB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.2072, allocations: 175.2 kB / 490.9 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.208, allocations: 226.3 kB / 491.1 MB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.208, allocations: 40.5 kB / 491.1 MB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.2102, allocations: 3.478 MB / 494.6 MB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2102, allocations: 9.375 kB / 494.6 MB, free: 25.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.2123, allocations: 1.584 MB / 496.2 MB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.2124, allocations: 88.55 kB / 496.3 MB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.2125, allocations: 21.62 kB / 496.3 MB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2127, allocations: 22.19 kB / 496.3 MB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2128, allocations: 77.77 kB / 496.4 MB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.2128, allocations: 43.08 kB / 496.4 MB, free: 24.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005988/0.2134, allocations: 0.8861 MB / 497.3 MB, free: 24.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2134, allocations: 0 / 497.3 MB, free: 24.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001656/0.2151, allocations: 0.848 MB / 498.2 MB, free: 23.97 MB / 410.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.001223/0.2163, allocations: 1.069 MB / 499.2 MB, free: 23.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.2176, allocations: 1.359 MB / 0.4889 GB, free: 23.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2176, allocations: 3.75 kB / 0.4889 GB, free: 23.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.2181, allocations: 0.6415 MB / 0.4895 GB, free: 22.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.2187, allocations: 236.1 kB / 0.4897 GB, free: 22.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.2207, allocations: 2.066 MB / 0.4917 GB, free: 21.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.2211, allocations: 0.4914 MB / 0.4922 GB, free: 21.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.2214, allocations: 222.6 kB / 0.4924 GB, free: 21.32 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2214, allocations: 3.156 kB / 0.4924 GB, free: 21.32 MB / 410.7 MB Notification: Performance of Templates: time 0.02062/0.242, allocations: 32.28 MB / 0.524 GB, free: 12.71 MB / 426.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: 6.324193497188389] Failed to read output from testmodel.py, exit status != 0: 0.24735391419380903 0.255676936 0.083489898 Calling exit ...