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.001014/0.001014, 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.001029/0.001029, 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.9455/0.9455, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.09357/0.09357, allocations: 17.46 MB / 277.7 MB, free: 11.64 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 2.024e-06/2.024e-06, allocations: 0 / 353.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.983e-05, allocations: 6.25 kB / 353.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.008799/0.008829, allocations: 6.966 MB / 360.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02095/0.02978, allocations: 21.83 MB / 382.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.031, allocations: 19.81 kB / 382.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.03213, allocations: 408.8 kB / 382.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.03648, allocations: 1.687 MB / 384.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007421/0.04391, allocations: 2.934 MB / 387.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002488/0.04639, allocations: 1.887 MB / 389.3 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007849/0.04718, allocations: 0.8015 MB / 390.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.04819, allocations: 1.209 MB / 391.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009215/0.04911, allocations: 0.7756 MB / 392.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.04928, allocations: 156 kB / 392.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005001/0.05428, allocations: 2.214 MB / 394.4 MB, free: 1.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.05455, allocations: 374.8 kB / 394.8 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005673/0.05512, allocations: 0.5808 MB / 395.4 MB, free: 196 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008051/0.06317, allocations: 3.945 MB / 399.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.06318, allocations: 4 kB / 399.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.06318, allocations: 4 kB / 399.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.06323, allocations: 0 / 399.3 MB, free: 12.22 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.002832/0.06606, allocations: 2.145 MB / 401.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.0661, allocations: 12.02 kB / 401.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.06746, allocations: 0.6304 MB / 402.1 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.06837, allocations: 0.7179 MB / 402.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.06842, allocations: 94.78 kB / 402.9 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.06857, allocations: 132.3 kB / 403.1 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.07007, allocations: 1.218 MB / 404.3 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.0701, allocations: 192 / 404.3 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.07018, allocations: 52.38 kB / 404.3 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.0702, allocations: 35.94 kB / 404.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.07191, allocations: 1.376 MB / 405.7 MB, free: 5.68 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.004751/0.07666, allocations: 3.794 MB / 409.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1377/0.2144, allocations: 2.076 MB / 411.6 MB, free: 64.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007481/0.2151, allocations: 360.6 kB / 412 MB, free: 64.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004576/0.2197, allocations: 2.706 MB / 414.7 MB, free: 64.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.2197, allocations: 44.72 kB / 414.7 MB, free: 64.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.2197, allocations: 0 / 414.7 MB, free: 64.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.007908/0.2276, allocations: 2.9 MB / 417.6 MB, free: 63.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2277, allocations: 62.48 kB / 417.7 MB, free: 63.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.2288, allocations: 0.9701 MB / 418.6 MB, free: 63.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.2289, allocations: 43.8 kB / 418.7 MB, free: 63.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.2292, allocations: 0.7635 MB / 419.4 MB, free: 62.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.2294, allocations: 333.5 kB / 419.8 MB, free: 62.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.2297, allocations: 297.8 kB / 420.1 MB, free: 62.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.2298, allocations: 0.5263 MB / 420.6 MB, free: 61.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.2302, allocations: 242.6 kB / 420.8 MB, free: 61.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/0.2308, allocations: 0.924 MB / 421.7 MB, free: 60.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009953/0.2318, allocations: 1.262 MB / 423 MB, free: 59.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.2318, allocations: 3.625 kB / 423 MB, free: 59.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002234/0.234, allocations: 1.407 MB / 424.4 MB, free: 59.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2341, allocations: 14.16 kB / 424.4 MB, free: 59.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.2341, allocations: 16.22 kB / 424.5 MB, free: 59.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.2354, allocations: 355 kB / 424.8 MB, free: 59.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/0.236, allocations: 349.4 kB / 425.1 MB, free: 59.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.2389, allocations: 4.372 MB / 429.5 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.2396, allocations: 52.27 kB / 429.6 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.2396, allocations: 75.67 kB / 429.6 MB, free: 54.96 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.0003232/0.24, allocations: 250.2 kB / 429.9 MB, free: 54.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.2401, allocations: 133.8 kB / 430 MB, free: 54.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.242, allocations: 1.065 MB / 431.1 MB, free: 54.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.242, allocations: 9.312 kB / 431.1 MB, free: 54.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.242, allocations: 0 / 431.1 MB, free: 54.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.242, allocations: 10.08 kB / 431.1 MB, free: 54.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008233/0.2428, allocations: 0.7915 MB / 431.9 MB, free: 53.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2428, allocations: 0 / 431.9 MB, free: 53.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.2432, allocations: 178.1 kB / 432.1 MB, free: 53.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.2445, allocations: 328.7 kB / 432.4 MB, free: 53.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.2446, allocations: 31.98 kB / 432.4 MB, free: 53.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.2468, allocations: 4.274 MB / 436.7 MB, free: 48.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2468, allocations: 4 kB / 436.7 MB, free: 48.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.2487, allocations: 1.328 MB / 438 MB, free: 47.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.2489, allocations: 98.33 kB / 438.1 MB, free: 47.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.249, allocations: 23.94 kB / 438.1 MB, free: 47.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.2492, allocations: 16 kB / 438.2 MB, free: 47.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.2494, allocations: 80.86 kB / 438.2 MB, free: 47.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.2494, allocations: 40.05 kB / 438.3 MB, free: 47.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004184/0.2498, allocations: 0.5927 MB / 438.9 MB, free: 46.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2498, allocations: 4 kB / 438.9 MB, free: 46.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001767/0.2516, allocations: 0.8477 MB / 439.7 MB, free: 45.78 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.001354/0.2529, allocations: 1.072 MB / 440.8 MB, free: 44.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.2545, allocations: 1.156 MB / 441.9 MB, free: 43.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.2545, allocations: 4 kB / 441.9 MB, free: 43.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.255, allocations: 0.7095 MB / 442.7 MB, free: 42.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.2557, allocations: 259.2 kB / 442.9 MB, free: 42.66 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.00285/0.2586, allocations: 1.988 MB / 444.9 MB, free: 40.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2587, allocations: 205.5 kB / 445.1 MB, free: 40.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005537/0.2592, allocations: 260.1 kB / 445.4 MB, free: 40.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.2595, allocations: 171.8 kB / 445.5 MB, free: 39.99 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.2595, allocations: 0 / 445.5 MB, free: 39.99 MB / 330.7 MB Notification: Performance of Templates: time 0.02499/0.2844, allocations: 28.99 MB / 474.5 MB, free: 11.22 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7453765377867967]