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.001608/0.001608, allocations: 115.9 kB / 17.13 MB, free: 6.008 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.001693/0.001693, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1357/0.1357, allocations: 23.89 MB / 333.4 MB, free: 1.168 MB / 254.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.002063/0.002063, allocations: 76.47 kB / 467.2 MB, free: 30.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08884, allocations: 59.83 MB / 0.5147 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008694/0.09753, allocations: 7.029 MB / 0.5216 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02646/0.124, allocations: 21.88 MB / 0.5429 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.1247, allocations: 23.88 kB / 0.543 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1258, allocations: 452.7 kB / 0.5434 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.1296, allocations: 1.661 MB / 0.545 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006502/0.1361, allocations: 2.819 MB / 0.5478 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.1382, allocations: 1.826 MB / 0.5495 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.1391, allocations: 0.7615 MB / 0.5503 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000947/0.1401, allocations: 0.8689 MB / 0.5511 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.1412, allocations: 0.9538 MB / 0.5521 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.1414, allocations: 152 kB / 0.5522 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005603/0.147, allocations: 2.344 MB / 0.5545 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.1474, allocations: 362.9 kB / 0.5549 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007959/0.1482, allocations: 0.7972 MB / 0.5556 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00667/0.1548, allocations: 4.26 MB / 0.5598 GB, free: 14.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1549, allocations: 0 / 0.5598 GB, free: 14.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1549, allocations: 0 / 0.5598 GB, free: 14.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.1549, allocations: 0 / 0.5598 GB, free: 14.01 MB / 430.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.003891/0.1588, allocations: 2.128 MB / 0.5619 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1588, allocations: 8.031 kB / 0.5619 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.1606, allocations: 395.1 kB / 0.5623 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.1618, allocations: 0.7607 MB / 0.563 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/0.1619, allocations: 94.84 kB / 0.5631 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.1621, allocations: 128.3 kB / 0.5632 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.165, allocations: 1.76 MB / 0.5649 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.165, allocations: 4 kB / 0.5649 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.1652, allocations: 48 kB / 0.565 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.1652, allocations: 36 kB / 0.565 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/0.1691, allocations: 2.481 MB / 0.5674 GB, free: 6.027 MB / 430.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.00866/0.1778, allocations: 5.132 MB / 0.5724 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.1815, allocations: 2.179 MB / 0.5746 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/0.1824, allocations: 499 kB / 0.575 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00779/0.1902, allocations: 5.321 MB / 0.5802 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1902, allocations: 39.16 kB / 0.5803 GB, free: 7.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 1.913e-06/0.1902, allocations: 0 / 0.5803 GB, free: 7.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.01532/0.2055, allocations: 3.39 MB / 0.5836 GB, free: 4.504 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.2056, allocations: 60.41 kB / 0.5836 GB, free: 4.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.2072, allocations: 1.296 MB / 0.5849 GB, free: 3.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.2073, allocations: 41.7 kB / 0.585 GB, free: 3.062 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/0.2078, allocations: 0.7022 MB / 0.5856 GB, free: 2.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.2081, allocations: 333.2 kB / 0.586 GB, free: 2.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004629/0.2086, allocations: 299.4 kB / 0.5862 GB, free: 1.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.2088, allocations: 357.9 kB / 0.5866 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008531/0.2096, allocations: 0.5154 MB / 0.5871 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2/0.4096, allocations: 0.9964 MB / 0.5881 GB, free: 66.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.4115, allocations: 1.43 MB / 0.5895 GB, free: 65.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.4115, allocations: 4.141 kB / 0.5895 GB, free: 65.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004758/0.4163, allocations: 1.906 MB / 0.5913 GB, free: 65.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.4163, allocations: 11.53 kB / 0.5913 GB, free: 65.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.4163, allocations: 15.97 kB / 0.5913 GB, free: 65.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.4184, allocations: 251.3 kB / 0.5916 GB, free: 65.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.4195, allocations: 350.6 kB / 0.5919 GB, free: 65.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.4245, allocations: 3.871 MB / 0.5957 GB, free: 61.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009636/0.4255, allocations: 47.88 kB / 0.5957 GB, free: 61.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.4256, allocations: 81.31 kB / 0.5958 GB, free: 61.7 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.0004326/0.426, allocations: 292.1 kB / 0.5961 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.4262, allocations: 112.9 kB / 0.5962 GB, free: 61.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/0.4301, allocations: 1.252 MB / 0.5974 GB, free: 61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4302, allocations: 9.781 kB / 0.5974 GB, free: 61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4302, allocations: 0.8125 kB / 0.5974 GB, free: 61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.4302, allocations: 3.141 kB / 0.5974 GB, free: 61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.4314, allocations: 1.112 MB / 0.5985 GB, free: 60.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4314, allocations: 2.469 kB / 0.5985 GB, free: 60.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/0.4321, allocations: 177.6 kB / 0.5987 GB, free: 60.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.4341, allocations: 230.5 kB / 0.5989 GB, free: 60.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.4342, allocations: 34.17 kB / 0.599 GB, free: 60.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004343/0.4385, allocations: 3.762 MB / 0.6026 GB, free: 56.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4385, allocations: 5.766 kB / 0.6026 GB, free: 56.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.4426, allocations: 1.599 MB / 0.6042 GB, free: 56.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.4427, allocations: 176.5 kB / 0.6044 GB, free: 56.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.4428, allocations: 22.44 kB / 0.6044 GB, free: 56.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.4434, allocations: 19.48 kB / 0.6044 GB, free: 56.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.4436, allocations: 84.56 kB / 0.6045 GB, free: 56.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/0.4437, allocations: 39.11 kB / 0.6045 GB, free: 56.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009958/0.4446, allocations: 0.9108 MB / 0.6054 GB, free: 55.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4446, allocations: 0 / 0.6054 GB, free: 55.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00227/0.4469, allocations: 0.8481 MB / 0.6062 GB, free: 55.55 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.001706/0.4486, allocations: 1.035 MB / 0.6073 GB, free: 55.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.4508, allocations: 1.34 MB / 0.6086 GB, free: 54.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4508, allocations: 0.6562 kB / 0.6086 GB, free: 54.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.4517, allocations: 0.6525 MB / 0.6092 GB, free: 54.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.4529, allocations: 231.5 kB / 0.6094 GB, free: 54.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.4559, allocations: 2.179 MB / 0.6116 GB, free: 53.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.4565, allocations: 1.08 MB / 0.6126 GB, free: 52.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.4569, allocations: 225.1 kB / 0.6128 GB, free: 52.35 MB / 446.1 MB Notification: Performance of SimCode: time 5.82e-07/0.4569, allocations: 0 / 0.6128 GB, free: 52.35 MB / 446.1 MB Notification: Performance of Templates: time 0.02707/0.484, allocations: 31.82 MB / 0.6439 GB, free: 26.86 MB / 446.1 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: 9.749674228980439] Failed to read output from testmodel.py, exit status != 0: 0.491370766016189 0.49992739299999994 0.34291197199999995 Calling exit ...