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/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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: "" <> buildModelFMU(Chemical.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008686, allocations: 99.39 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.0008967/0.0008968, 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.312/1.312, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1905/0.1905, allocations: 15.26 MB / 306.2 MB, free: 15.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.000279, allocations: 8 kB / 371.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3054, allocations: 54.61 MB / 426.1 MB, free: 40.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.008777/0.3142, allocations: 9.468 MB / 435.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0252/0.3395, allocations: 27.73 MB / 463.3 MB, free: 16.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.3417, allocations: 40.81 kB / 463.3 MB, free: 16.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.3438, allocations: 0.6529 MB / 464 MB, free: 16.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007542/0.3513, allocations: 2.648 MB / 466.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.3635, allocations: 3.83 MB / 470.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004301/0.3678, allocations: 1.991 MB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.3696, allocations: 1.272 MB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.3715, allocations: 1.072 MB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.3738, allocations: 1.412 MB / 476.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005279/0.3744, allocations: 139.1 kB / 476.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.3872, allocations: 3.956 MB / 480.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.3883, allocations: 476.8 kB / 480.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.3895, allocations: 445.9 kB / 481.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009886/0.3994, allocations: 3.901 MB / 485.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3995, allocations: 0 / 485.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3995, allocations: 0 / 485.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.857e-05/0.3996, allocations: 0 / 485.1 MB, free: 7.191 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.007382/0.407, allocations: 2.701 MB / 487.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.407, allocations: 9.969 kB / 487.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001032/0.4081, allocations: 288.9 kB / 488.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.4114, allocations: 0.5693 MB / 488.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.4139, allocations: 0.9902 MB / 489.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.414, allocations: 158.9 kB / 489.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005257/0.4145, allocations: 225.1 kB / 490 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004582/0.4191, allocations: 2.748 MB / 492.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.4192, allocations: 4.562 kB / 492.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.4194, allocations: 84 kB / 492.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.4194, allocations: 52 kB / 492.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.4239, allocations: 3.771 MB / 496.7 MB, free: 15.25 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.01388/0.4378, allocations: 8.169 MB / 0.493 GB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.4436, allocations: 3.945 MB / 0.4969 GB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.4562, allocations: 8.95 MB / 0.5056 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.4562, allocations: 51.86 kB / 0.5056 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009355/0.4572, allocations: 166.1 kB / 0.5058 GB, free: 8.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 4.88e-06/0.4572, allocations: 0 / 0.5058 GB, free: 8.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=170): time 0.02903/0.4862, allocations: 6.464 MB / 0.5121 GB, free: 1.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.4863, allocations: 69.41 kB / 0.5122 GB, free: 1.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.4884, allocations: 1.648 MB / 0.5138 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.4885, allocations: 49.7 kB / 0.5138 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006928/0.4892, allocations: 1.046 MB / 0.5149 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/0.4898, allocations: 0.5815 MB / 0.5154 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.4899, allocations: 56 kB / 0.5155 GB, free: 14.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.4901, allocations: 402.9 kB / 0.5159 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.4914, allocations: 0.7819 MB / 0.5166 GB, free: 13.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.4931, allocations: 1.573 MB / 0.5182 GB, free: 11.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.4947, allocations: 1.013 MB / 0.5192 GB, free: 10.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.4948, allocations: 8 kB / 0.5192 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008133/0.5029, allocations: 3.131 MB / 0.5222 GB, free: 7.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.503, allocations: 16.16 kB / 0.5222 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/0.503, allocations: 32 kB / 0.5223 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003952/0.507, allocations: 0.5067 MB / 0.5228 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.5091, allocations: 0.5889 MB / 0.5233 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.5197, allocations: 7.071 MB / 0.5302 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.5222, allocations: 143.8 kB / 0.5304 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.5225, allocations: 139.9 kB / 0.5305 GB, free: 14.07 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.0009026/0.5234, allocations: 420.9 kB / 0.5309 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.5237, allocations: 169.8 kB / 0.5311 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007405/0.5311, allocations: 2.425 MB / 0.5334 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.5311, allocations: 16 kB / 0.5335 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.5312, allocations: 4 kB / 0.5335 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/0.5312, allocations: 16.08 kB / 0.5335 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/0.5343, allocations: 1.863 MB / 0.5353 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5343, allocations: 3.938 kB / 0.5353 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.5356, allocations: 343.6 kB / 0.5356 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003907/0.5395, allocations: 491 kB / 0.5361 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/0.5397, allocations: 59.97 kB / 0.5362 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009164/0.5489, allocations: 6.894 MB / 0.5429 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5489, allocations: 0 / 0.5429 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00816/0.5571, allocations: 3.123 MB / 0.5459 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/0.5578, allocations: 258.7 kB / 0.5462 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.5581, allocations: 40 kB / 0.5462 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009685/0.5591, allocations: 59.89 kB / 0.5463 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.5593, allocations: 145.8 kB / 0.5464 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.5595, allocations: 79.97 kB / 0.5465 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.5608, allocations: 1.118 MB / 0.5476 GB, free: 11.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5608, allocations: 0 / 0.5476 GB, free: 11.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004356/0.5652, allocations: 1.319 MB / 0.5489 GB, free: 10.46 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.01159/0.5768, allocations: 5.555 MB / 0.5543 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004274/0.5811, allocations: 2.478 MB / 0.5567 GB, free: 2.285 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.5811, allocations: 0 / 0.5567 GB, free: 2.285 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.5831, allocations: 1.351 MB / 0.558 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.585, allocations: 317.6 kB / 0.5583 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.6022, allocations: 24.52 MB / 0.5823 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.6035, allocations: 1.427 MB / 0.5837 GB, free: 5.633 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002267/0.6058, allocations: 445.4 kB / 0.5841 GB, free: 5.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.607, allocations: 0.9553 MB / 0.585 GB, free: 4.238 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.607, allocations: 0 / 0.585 GB, free: 4.238 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2754/0.8824, allocations: 58.29 MB / 0.642 GB, free: 112.9 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.8826, allocations: 185.6 kB / 0.6421 GB, free: 112.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.49/4.373, allocations: 8 kB / 0.6421 GB, free: 112.6 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility.fmu > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1) Environment - environmentSimulation: