Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001093/0.001093, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001183/0.001183, allocations: 173 kB / 23.49 MB, free: 1.059 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.9989/0.9989, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08978/0.08978, allocations: 17.37 MB / 277.6 MB, free: 11.71 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.GasSolubility_blood") translateModel(Chemical.Obsolete.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.GasSolubility_blood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 353.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.994e-05, allocations: 2.312 kB / 353.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.005809/0.005829, allocations: 6.968 MB / 360.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03927/0.0451, allocations: 21.82 MB / 382.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008327/0.04593, allocations: 23.81 kB / 382.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00098/0.04691, allocations: 412.7 kB / 382.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009583/0.05649, allocations: 1.687 MB / 384.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008792/0.06529, allocations: 2.938 MB / 387.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00484/0.07013, allocations: 1.887 MB / 389.2 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.0709, allocations: 0.7898 MB / 389.9 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.07455, allocations: 1.213 MB / 391.2 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.07564, allocations: 0.7756 MB / 391.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.07582, allocations: 159.9 kB / 392.1 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/0.0804, allocations: 2.218 MB / 394.3 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.08068, allocations: 374.8 kB / 394.7 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.08119, allocations: 0.5691 MB / 395.2 MB, free: 324 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005238/0.08643, allocations: 3.953 MB / 399.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.08643, allocations: 0 / 399.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08644, allocations: 0 / 399.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.08645, allocations: 4 kB / 399.2 MB, free: 12.34 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.002673/0.08912, allocations: 2.149 MB / 401.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.08917, allocations: 8.031 kB / 401.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.09076, allocations: 0.6421 MB / 402 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009639/0.09173, allocations: 0.7101 MB / 402.7 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/0.09179, allocations: 94.84 kB / 402.8 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.09198, allocations: 128.3 kB / 402.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.09378, allocations: 1.214 MB / 404.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.0938, allocations: 192 / 404.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.09392, allocations: 56.3 kB / 404.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.09395, allocations: 35.94 kB / 404.2 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.09612, allocations: 1.376 MB / 405.6 MB, free: 5.801 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.005613/0.1017, allocations: 3.782 MB / 409.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.128/0.2298, allocations: 2.091 MB / 411.5 MB, free: 39.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000664/0.2304, allocations: 358.6 kB / 411.8 MB, free: 39.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003796/0.2342, allocations: 2.711 MB / 414.5 MB, free: 39.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2342, allocations: 41 kB / 414.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.364e-06/0.2342, allocations: 1.156 kB / 414.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.007193/0.2414, allocations: 2.901 MB / 417.5 MB, free: 38.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.2415, allocations: 63.94 kB / 417.5 MB, free: 38.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.2423, allocations: 0.9677 MB / 418.5 MB, free: 38.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.2424, allocations: 40.52 kB / 418.6 MB, free: 38.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.2427, allocations: 0.7583 MB / 419.3 MB, free: 38.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.2428, allocations: 338.4 kB / 419.6 MB, free: 37.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.2431, allocations: 291.8 kB / 419.9 MB, free: 37.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.2432, allocations: 0.5328 MB / 420.5 MB, free: 37.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.2436, allocations: 241.9 kB / 420.7 MB, free: 37.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.2441, allocations: 0.9234 MB / 421.6 MB, free: 36.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.2451, allocations: 1.259 MB / 422.9 MB, free: 35.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.2451, allocations: 3.438 kB / 422.9 MB, free: 35.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002117/0.2472, allocations: 1.404 MB / 424.3 MB, free: 35.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2473, allocations: 10.06 kB / 424.3 MB, free: 35.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.2473, allocations: 14.66 kB / 424.3 MB, free: 35.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.2486, allocations: 352.4 kB / 424.7 MB, free: 35.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.2492, allocations: 350.9 kB / 425 MB, free: 35.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.2517, allocations: 4.382 MB / 429.4 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.2522, allocations: 52.61 kB / 429.4 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.2523, allocations: 82 kB / 429.5 MB, free: 31.57 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.0002041/0.2525, allocations: 248.6 kB / 429.8 MB, free: 31.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2526, allocations: 140.5 kB / 429.9 MB, free: 31.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.2544, allocations: 1.062 MB / 431 MB, free: 31.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2544, allocations: 10.69 kB / 431 MB, free: 31.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2544, allocations: 0 / 431 MB, free: 31.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2544, allocations: 7.875 kB / 431 MB, free: 31.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007135/0.2551, allocations: 0.7842 MB / 431.8 MB, free: 30.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.2551, allocations: 2.781 kB / 431.8 MB, free: 30.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.2554, allocations: 179.5 kB / 431.9 MB, free: 30.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.2567, allocations: 332.8 kB / 432.3 MB, free: 30.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.2568, allocations: 28.98 kB / 432.3 MB, free: 30.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2588, allocations: 4.273 MB / 436.6 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2588, allocations: 3.938 kB / 436.6 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.2607, allocations: 1.327 MB / 437.9 MB, free: 26.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.2607, allocations: 99.44 kB / 438 MB, free: 26.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.2608, allocations: 21.53 kB / 438 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.2611, allocations: 21.53 kB / 438 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2612, allocations: 79.39 kB / 438.1 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.2612, allocations: 35.41 kB / 438.1 MB, free: 26.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003728/0.2616, allocations: 0.5925 MB / 438.7 MB, free: 26.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2616, allocations: 0 / 438.7 MB, free: 26.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001424/0.263, allocations: 0.8511 MB / 439.6 MB, free: 26.48 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.001103/0.2641, allocations: 1.064 MB / 440.6 MB, free: 26.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.2652, allocations: 1.169 MB / 441.8 MB, free: 25.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2652, allocations: 0 / 441.8 MB, free: 25.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.2657, allocations: 0.7065 MB / 442.5 MB, free: 25.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.2663, allocations: 265 kB / 442.8 MB, free: 25.42 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.2688, allocations: 1.988 MB / 444.8 MB, free: 24.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2689, allocations: 205.6 kB / 445 MB, free: 24.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005288/0.2694, allocations: 254.4 kB / 445.2 MB, free: 24.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.2696, allocations: 167.3 kB / 445.4 MB, free: 24.2 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2696, allocations: 0 / 445.4 MB, free: 24.2 MB / 330.7 MB Notification: Performance of Templates: time 0.02327/0.2929, allocations: 29.01 MB / 474.4 MB, free: 12.07 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Obsolete.Examples.GasSolubility_blood -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7683552817907184]