Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.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.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",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.0007818/0.000782, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005462/0.005462, allocations: 169.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1635/0.1635, allocations: 15.28 MB / 306.7 MB, free: 15.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 8 kB / 372.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.231, allocations: 54.62 MB / 426.8 MB, free: 40.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01017/0.2412, allocations: 16.65 MB / 443.5 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03701/0.2783, allocations: 48.51 MB / 492 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.281, allocations: 70.78 kB / 492 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.2839, allocations: 1.008 MB / 493 MB, free: 11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00965/0.2936, allocations: 2.996 MB / 496 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01825/0.3119, allocations: 6.075 MB / 0.4904 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006297/0.3182, allocations: 4.277 MB / 0.4945 GB, free: 3.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.3211, allocations: 1.883 MB / 0.4964 GB, free: 2.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/0.3243, allocations: 1.928 MB / 0.4982 GB, free: 1.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.3279, allocations: 2.125 MB / 0.5003 GB, free: 200 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000749/0.3286, allocations: 200 kB / 0.5005 GB, free: 0 / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.3449, allocations: 5.365 MB / 0.5058 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009372/0.3459, allocations: 0.6926 MB / 0.5064 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002534/0.3484, allocations: 1.786 MB / 0.5082 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.3668, allocations: 9.185 MB / 0.5171 GB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3668, allocations: 4 kB / 0.5171 GB, free: 14.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3668, allocations: 3.938 kB / 0.5172 GB, free: 14.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000122/0.3669, allocations: 0 / 0.5172 GB, free: 14.9 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.006984/0.3739, allocations: 3.887 MB / 0.5209 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.374, allocations: 11.97 kB / 0.521 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006084/0.3746, allocations: 414.4 kB / 0.5214 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.3781, allocations: 0.9337 MB / 0.5223 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.3801, allocations: 1.497 MB / 0.5237 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.3802, allocations: 234.6 kB / 0.524 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/0.3807, allocations: 324.2 kB / 0.5243 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005815/0.3865, allocations: 4.46 MB / 0.5286 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.3866, allocations: 0 / 0.5286 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.3869, allocations: 124 kB / 0.5287 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/0.3869, allocations: 72 kB / 0.5288 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007721/0.3946, allocations: 6.368 MB / 0.535 GB, free: 12.37 MB / 414.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.01763/0.4123, allocations: 12.52 MB / 0.5472 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006334/0.4186, allocations: 4.623 MB / 0.5518 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.4204, allocations: 1.311 MB / 0.553 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/0.4343, allocations: 11.93 MB / 0.5647 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.4344, allocations: 52.25 kB / 0.5647 GB, free: 11.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=182): time 2.966e-06/0.4344, allocations: 0 / 0.5647 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=227): time 0.04216/0.4766, allocations: 9.899 MB / 0.5744 GB, free: 1.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.4767, allocations: 128.8 kB / 0.5745 GB, free: 1.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1551/0.6318, allocations: 3.308 MB / 0.5778 GB, free: 118.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000306/0.6321, allocations: 64.23 kB / 0.5778 GB, free: 118.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006258/0.6328, allocations: 1.592 MB / 0.5794 GB, free: 118.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.6332, allocations: 0.798 MB / 0.5802 GB, free: 118 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.6335, allocations: 282 kB / 0.5804 GB, free: 118 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.6335, allocations: 301.1 kB / 0.5807 GB, free: 117.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.6352, allocations: 1.387 MB / 0.5821 GB, free: 117.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.6373, allocations: 2.483 MB / 0.5845 GB, free: 116.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/0.6406, allocations: 3.587 MB / 0.588 GB, free: 113.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.6406, allocations: 10.06 kB / 0.588 GB, free: 113.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01102/0.6516, allocations: 5.005 MB / 0.5929 GB, free: 111.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.6517, allocations: 23.03 kB / 0.5929 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-05/0.6517, allocations: 33.75 kB / 0.593 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005838/0.6576, allocations: 0.7567 MB / 0.5937 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.6599, allocations: 0.8382 MB / 0.5945 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.6727, allocations: 10.51 MB / 0.6048 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003617/0.6763, allocations: 189.3 kB / 0.6049 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/0.6768, allocations: 195.1 kB / 0.6051 GB, free: 102.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.6778, allocations: 0.5456 MB / 0.6057 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/0.6783, allocations: 263.4 kB / 0.6059 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.6897, allocations: 3.256 MB / 0.6091 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.6898, allocations: 30.72 kB / 0.6091 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/0.6898, allocations: 2.125 kB / 0.6091 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.971e-05/0.6899, allocations: 14.12 kB / 0.6091 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.6938, allocations: 2.599 MB / 0.6117 GB, free: 99.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6939, allocations: 3.125 kB / 0.6117 GB, free: 99.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.6954, allocations: 449.5 kB / 0.6121 GB, free: 99.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005944/0.7014, allocations: 0.7155 MB / 0.6128 GB, free: 99.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002752/0.7017, allocations: 82.38 kB / 0.6129 GB, free: 99.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/0.7139, allocations: 10.22 MB / 0.6229 GB, free: 89.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7139, allocations: 3.812 kB / 0.6229 GB, free: 89.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.7255, allocations: 4.195 MB / 0.627 GB, free: 88.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/0.7263, allocations: 372.5 kB / 0.6273 GB, free: 87.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/0.7267, allocations: 52.3 kB / 0.6274 GB, free: 87.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.7281, allocations: 87.69 kB / 0.6275 GB, free: 87.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004688/0.7286, allocations: 198.5 kB / 0.6276 GB, free: 87.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.7288, allocations: 97.58 kB / 0.6277 GB, free: 87.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00267/0.7315, allocations: 2.336 MB / 0.63 GB, free: 86.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7315, allocations: 0 / 0.63 GB, free: 86.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005854/0.7373, allocations: 2.071 MB / 0.632 GB, free: 86.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01423/0.7516, allocations: 6.877 MB / 0.6388 GB, free: 83.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004954/0.7566, allocations: 3.76 MB / 0.6424 GB, free: 81.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.7566, allocations: 4.188 kB / 0.6424 GB, free: 81.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.7588, allocations: 1.88 MB / 0.6443 GB, free: 80.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/0.7622, allocations: 479 kB / 0.6447 GB, free: 80.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04104/0.8033, allocations: 30.28 MB / 0.6743 GB, free: 50.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/0.8042, allocations: 1.722 MB / 0.676 GB, free: 48.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002668/0.8069, allocations: 0.61 MB / 0.6766 GB, free: 47.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.8082, allocations: 1.428 MB / 0.678 GB, free: 46.54 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8082, allocations: 3.938 kB / 0.678 GB, free: 46.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/1.844, allocations: 88.28 MB / 0.7642 GB, free: 141.6 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.844, allocations: 212 kB / 0.7644 GB, free: 141.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.76/6.604, allocations: 0 / 0.7644 GB, free: 141.4 MB / 478.1 MB (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)