Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 99.55 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.001973/0.001973, allocations: 177.3 kB / 15.94 MB, free: 228 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.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.3181/0.3181, allocations: 15.26 MB / 306.2 MB, free: 15.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.000486, allocations: 19.98 kB / 371.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 54.61 MB / 426 MB, free: 40.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.007615/0.2988, allocations: 9.461 MB / 435.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02418/0.323, allocations: 27.73 MB / 463.2 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.325, allocations: 48.78 kB / 463.2 MB, free: 16.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.3266, allocations: 0.6491 MB / 463.9 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.3328, allocations: 2.651 MB / 466.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009495/0.3423, allocations: 3.832 MB / 470.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.3459, allocations: 1.994 MB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.348, allocations: 1.282 MB / 473.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.3503, allocations: 1.068 MB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.3531, allocations: 1.411 MB / 476.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000742/0.3538, allocations: 139.6 kB / 476.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.3687, allocations: 3.956 MB / 480.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.3702, allocations: 474.5 kB / 480.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.372, allocations: 445.7 kB / 481.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009804/0.3818, allocations: 3.9 MB / 485 MB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3818, allocations: 0 / 485 MB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3819, allocations: 0 / 485 MB, free: 7.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001142/0.382, allocations: 0 / 485 MB, free: 7.367 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: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.007571/0.3895, allocations: 2.7 MB / 487.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3896, allocations: 10.28 kB / 487.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/0.3929, allocations: 0.5712 MB / 488.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.3952, allocations: 0.983 MB / 489.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.3955, allocations: 163.2 kB / 489.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009357/0.3964, allocations: 222 kB / 489.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007023/0.4034, allocations: 2.754 MB / 492.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.4035, allocations: 0 / 492.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.4039, allocations: 87.94 kB / 492.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.404, allocations: 55.98 kB / 492.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005338/0.4093, allocations: 3.767 MB / 496.3 MB, free: 15.61 MB / 366.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.01461/0.4239, allocations: 8.157 MB / 0.4926 GB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00568/0.4296, allocations: 3.954 MB / 0.4965 GB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.4435, allocations: 8.95 MB / 0.5052 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.4435, allocations: 47.86 kB / 0.5053 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001032/0.4446, allocations: 170.1 kB / 0.5054 GB, free: 8.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 5.6e-06/0.4446, allocations: 0 / 0.5054 GB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=170): time 0.03021/0.4748, allocations: 6.456 MB / 0.5117 GB, free: 2.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.4749, allocations: 73.41 kB / 0.5118 GB, free: 2.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.4774, allocations: 1.648 MB / 0.5134 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.4776, allocations: 53.7 kB / 0.5135 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006908/0.4783, allocations: 1.042 MB / 0.5145 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005387/0.4789, allocations: 0.5893 MB / 0.5151 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.479, allocations: 52 kB / 0.5151 GB, free: 14.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.4792, allocations: 399 kB / 0.5155 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.4806, allocations: 0.7858 MB / 0.5163 GB, free: 13.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.4825, allocations: 1.573 MB / 0.5178 GB, free: 11.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.4841, allocations: 1.005 MB / 0.5188 GB, free: 10.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.4841, allocations: 11.94 kB / 0.5188 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008319/0.4924, allocations: 3.131 MB / 0.5218 GB, free: 7.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.4925, allocations: 19.94 kB / 0.5219 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.4925, allocations: 24 kB / 0.5219 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004041/0.4966, allocations: 0.5108 MB / 0.5224 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.4987, allocations: 0.5889 MB / 0.523 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.5093, allocations: 7.073 MB / 0.5299 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.5118, allocations: 135.9 kB / 0.53 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/0.5121, allocations: 136 kB / 0.5301 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009127/0.513, allocations: 432.8 kB / 0.5305 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.5134, allocations: 169.8 kB / 0.5307 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/0.5211, allocations: 2.424 MB / 0.5331 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.5212, allocations: 16 kB / 0.5331 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5212, allocations: 4 kB / 0.5331 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/0.5212, allocations: 7.969 kB / 0.5331 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.5244, allocations: 1.867 MB / 0.5349 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.5245, allocations: 4 kB / 0.5349 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.5258, allocations: 347.8 kB / 0.5353 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003955/0.5298, allocations: 486.8 kB / 0.5357 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/0.5301, allocations: 67.91 kB / 0.5358 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009766/0.5398, allocations: 6.886 MB / 0.5425 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5399, allocations: 4 kB / 0.5425 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008355/0.5482, allocations: 3.12 MB / 0.5456 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006598/0.5489, allocations: 254.7 kB / 0.5458 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.5492, allocations: 39.95 kB / 0.5458 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5502, allocations: 67.88 kB / 0.5459 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.5505, allocations: 145.8 kB / 0.546 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.5507, allocations: 71.97 kB / 0.5461 GB, free: 13.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001353/0.5521, allocations: 1.118 MB / 0.5472 GB, free: 12.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5521, allocations: 0 / 0.5472 GB, free: 12.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004473/0.5565, allocations: 1.327 MB / 0.5485 GB, free: 10.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003144/0.5597, allocations: 1.457 MB / 0.5499 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004229/0.5639, allocations: 2.479 MB / 0.5523 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.564, allocations: 128 / 0.5523 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.5659, allocations: 1.346 MB / 0.5537 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.5675, allocations: 318.3 kB / 0.554 GB, free: 5.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.5733, allocations: 4.388 MB / 0.5582 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009073/0.5742, allocations: 1.42 MB / 0.5596 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001927/0.5762, allocations: 433.7 kB / 0.56 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.5768, allocations: 306.5 kB / 0.5603 GB, free: 14.48 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5768, allocations: 3.938 kB / 0.5603 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Templates: time 0.2334/0.8102, allocations: 42.14 MB / 0.6015 GB, free: 135.6 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile Environment - environmentSimulation: (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1) Environment - environmentSimulation: