Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002389/0.002389, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2056/0.2056, allocations: 15.26 MB / 306.2 MB, free: 15.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004362, allocations: 12 kB / 371.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2725, allocations: 54.62 MB / 426 MB, free: 39.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.005354/0.2779, allocations: 6.373 MB / 432.3 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.2929, allocations: 18.36 MB / 450.7 MB, free: 25.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.2939, allocations: 24.38 kB / 450.7 MB, free: 25.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009876/0.2949, allocations: 428 kB / 451.1 MB, free: 25.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.2986, allocations: 1.685 MB / 452.8 MB, free: 24.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006203/0.3048, allocations: 2.508 MB / 455.3 MB, free: 22.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.3068, allocations: 1.216 MB / 456.6 MB, free: 21.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/0.3076, allocations: 0.7179 MB / 457.3 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006688/0.3083, allocations: 0.6283 MB / 457.9 MB, free: 21.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.3091, allocations: 0.831 MB / 458.7 MB, free: 21.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.3092, allocations: 78.91 kB / 458.8 MB, free: 21.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006342/0.3156, allocations: 2.556 MB / 461.4 MB, free: 20.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.3158, allocations: 287 kB / 461.6 MB, free: 20.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.3162, allocations: 285.2 kB / 461.9 MB, free: 20.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.3204, allocations: 2.402 MB / 464.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3204, allocations: 0 / 464.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3204, allocations: 3.938 kB / 464.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.3204, allocations: 0 / 464.3 MB, free: 19.48 MB / 350.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.003053/0.3235, allocations: 1.757 MB / 466.1 MB, free: 18.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3235, allocations: 12.69 kB / 466.1 MB, free: 18.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.325, allocations: 380.2 kB / 466.5 MB, free: 18.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009163/0.3259, allocations: 0.6643 MB / 467.1 MB, free: 17.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/0.326, allocations: 92.22 kB / 467.2 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.3263, allocations: 133.5 kB / 467.4 MB, free: 17.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.3289, allocations: 1.736 MB / 469.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.3289, allocations: 1.891 kB / 469.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.3291, allocations: 53.58 kB / 469.1 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.3291, allocations: 30.25 kB / 469.2 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/0.3325, allocations: 2.476 MB / 471.7 MB, free: 16.16 MB / 350.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.007519/0.34, allocations: 5.001 MB / 476.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003426/0.3435, allocations: 2.238 MB / 478.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006934/0.3504, allocations: 5.147 MB / 484 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.3505, allocations: 42.47 kB / 484.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.3505, allocations: 0 / 484.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01445/0.3649, allocations: 3.405 MB / 487.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.365, allocations: 61.62 kB / 487.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.3665, allocations: 1.295 MB / 488.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-05/0.3666, allocations: 41.7 kB / 488.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.3669, allocations: 0.6832 MB / 489.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.3671, allocations: 314.1 kB / 489.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.3672, allocations: 28 kB / 489.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3673, allocations: 416.5 kB / 490.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/0.368, allocations: 0.5064 MB / 490.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.3688, allocations: 0.9914 MB / 491.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007709/0.3695, allocations: 0.636 MB / 492.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3695, allocations: 4 kB / 492.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004009/0.3736, allocations: 1.905 MB / 494.3 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3736, allocations: 12 kB / 494.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3736, allocations: 16 kB / 494.4 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/0.3756, allocations: 269.5 kB / 494.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.3767, allocations: 351.5 kB / 495 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/0.3823, allocations: 3.555 MB / 498.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3835, allocations: 79.97 kB / 498.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.3837, allocations: 79.97 kB / 498.7 MB, free: 11.75 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005053/0.3842, allocations: 297.3 kB / 499 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.3844, allocations: 106.6 kB / 499.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.3884, allocations: 1.249 MB / 0.4886 GB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.3884, allocations: 15.95 kB / 0.4886 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3884, allocations: 8 kB / 0.4886 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.3885, allocations: 7.969 kB / 0.4886 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.3901, allocations: 1.105 MB / 0.4897 GB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3901, allocations: 4 kB / 0.4897 GB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.3908, allocations: 179.7 kB / 0.4899 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.3929, allocations: 241.6 kB / 0.4901 GB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.736e-05/0.393, allocations: 39.94 kB / 0.4902 GB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004936/0.3979, allocations: 3.438 MB / 0.4935 GB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3979, allocations: 4.031 kB / 0.4935 GB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/0.4023, allocations: 1.646 MB / 0.4951 GB, free: 3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/0.4028, allocations: 191.7 kB / 0.4953 GB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.403, allocations: 20 kB / 0.4953 GB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.4036, allocations: 40.11 kB / 0.4954 GB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.4038, allocations: 72.89 kB / 0.4954 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.4039, allocations: 39.98 kB / 0.4955 GB, free: 2.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001003/0.4049, allocations: 0.9062 MB / 0.4964 GB, free: 1.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4049, allocations: 0 / 0.4964 GB, free: 1.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002881/0.4078, allocations: 0.8235 MB / 0.4972 GB, free: 0.8828 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/0.4098, allocations: 0.9857 MB / 0.4981 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.4124, allocations: 1.402 MB / 0.4995 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4124, allocations: 0 / 0.4995 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.4138, allocations: 0.6867 MB / 0.5002 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.4152, allocations: 198.4 kB / 0.5004 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.4191, allocations: 2.595 MB / 0.5029 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.4199, allocations: 1.11 MB / 0.504 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001116/0.421, allocations: 267.7 kB / 0.5042 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.4214, allocations: 166.8 kB / 0.5044 GB, free: 9.359 MB / 382.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4214, allocations: 0 / 0.5044 GB, free: 9.359 MB / 382.1 MB Notification: Performance of Templates: time 0.03705/0.4584, allocations: 25.71 MB / 0.5295 GB, free: 15.74 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_blood.makefile Environment - environmentSimulation: (rm -f Chemical_Chemical.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_blood.pipe 2>&1) Environment - environmentSimulation: