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.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_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.0007241/0.0007241, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0007966/0.0007967, allocations: 172.7 kB / 15.95 MB, free: 208 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.279/1.279, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1879/0.1879, allocations: 15.27 MB / 306.3 MB, free: 15.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 8 kB / 371.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 54.61 MB / 426.2 MB, free: 40.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01065/0.2615, allocations: 15.5 MB / 441.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03628/0.2978, allocations: 44.86 MB / 486.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.3012, allocations: 74.75 kB / 486.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003701/0.3049, allocations: 0.9989 MB / 487.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.315, allocations: 3.059 MB / 490.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01835/0.3334, allocations: 5.651 MB / 496.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006387/0.3398, allocations: 4.072 MB / 0.4887 GB, free: 7.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.3426, allocations: 1.822 MB / 0.4904 GB, free: 7.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.3453, allocations: 1.665 MB / 0.4921 GB, free: 6.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.348, allocations: 2.066 MB / 0.4941 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.3485, allocations: 204.1 kB / 0.4943 GB, free: 5.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/0.3655, allocations: 5.06 MB / 0.4992 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.3672, allocations: 0.6734 MB / 0.4999 GB, free: 232 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.3689, allocations: 0.6407 MB / 0.5005 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.3808, allocations: 7.383 MB / 0.5077 GB, free: 8.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3808, allocations: 0 / 0.5077 GB, free: 8.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3808, allocations: 0 / 0.5077 GB, free: 8.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.731e-05/0.3809, allocations: 0 / 0.5077 GB, free: 8.168 MB / 382.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.007244/0.3882, allocations: 3.892 MB / 0.5115 GB, free: 4.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3882, allocations: 11.97 kB / 0.5115 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005846/0.3888, allocations: 422.2 kB / 0.5119 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003565/0.3924, allocations: 0.9288 MB / 0.5128 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.3948, allocations: 1.442 MB / 0.5142 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.3949, allocations: 242.2 kB / 0.5145 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005034/0.3955, allocations: 319.8 kB / 0.5148 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006778/0.4022, allocations: 4.433 MB / 0.5191 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.3e-05/0.4023, allocations: 0 / 0.5191 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.4027, allocations: 128 kB / 0.5192 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.4027, allocations: 72 kB / 0.5193 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008643/0.4114, allocations: 6.357 MB / 0.5255 GB, free: 5.703 MB / 398.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.02147/0.4329, allocations: 12.52 MB / 0.5377 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006679/0.4396, allocations: 4.601 MB / 0.5422 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.4416, allocations: 1.304 MB / 0.5435 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01573/0.4574, allocations: 11.92 MB / 0.5551 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.4574, allocations: 48.25 kB / 0.5552 GB, free: 5.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 3.627e-06/0.4574, allocations: 0 / 0.5552 GB, free: 5.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04225/0.4997, allocations: 9.887 MB / 0.5648 GB, free: 11.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.4998, allocations: 124.8 kB / 0.565 GB, free: 11.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/0.5039, allocations: 3.299 MB / 0.5682 GB, free: 7.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.5042, allocations: 65.7 kB / 0.5682 GB, free: 7.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.5053, allocations: 1.597 MB / 0.5698 GB, free: 6.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008288/0.5061, allocations: 0.7857 MB / 0.5706 GB, free: 5.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.5065, allocations: 72 kB / 0.5706 GB, free: 5.195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.5067, allocations: 441.6 kB / 0.5711 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.509, allocations: 1.37 MB / 0.5724 GB, free: 3.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/0.5118, allocations: 2.469 MB / 0.5748 GB, free: 448 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.5145, allocations: 1.676 MB / 0.5764 GB, free: 14.76 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/0.5145, allocations: 12 kB / 0.5765 GB, free: 14.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01248/0.527, allocations: 4.987 MB / 0.5813 GB, free: 9.738 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.5271, allocations: 20 kB / 0.5813 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.221e-05/0.5271, allocations: 32 kB / 0.5814 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005554/0.5327, allocations: 0.7582 MB / 0.5821 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/0.5357, allocations: 0.8386 MB / 0.5829 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1999/0.7356, allocations: 10.48 MB / 0.5932 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.7385, allocations: 188.5 kB / 0.5933 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003106/0.7388, allocations: 197 kB / 0.5935 GB, free: 126.4 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009261/0.7398, allocations: 0.5437 MB / 0.5941 GB, free: 126.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.7402, allocations: 257.3 kB / 0.5943 GB, free: 126.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009761/0.7499, allocations: 3.26 MB / 0.5975 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.75, allocations: 24.44 kB / 0.5975 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.75, allocations: 2.875 kB / 0.5975 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.75, allocations: 13.55 kB / 0.5975 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.7533, allocations: 2.603 MB / 0.6001 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.7533, allocations: 3.125 kB / 0.6001 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.7548, allocations: 453.2 kB / 0.6005 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005321/0.7601, allocations: 0.7149 MB / 0.6012 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.7603, allocations: 81.28 kB / 0.6013 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.7719, allocations: 10.22 MB / 0.6113 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7719, allocations: 3.031 kB / 0.6113 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.7833, allocations: 4.17 MB / 0.6153 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008882/0.7842, allocations: 369.3 kB / 0.6157 GB, free: 115.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00078/0.785, allocations: 46.56 kB / 0.6157 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.7869, allocations: 90.53 kB / 0.6158 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/0.7874, allocations: 196.2 kB / 0.616 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/0.7876, allocations: 96.66 kB / 0.6161 GB, free: 115.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002767/0.7904, allocations: 2.319 MB / 0.6184 GB, free: 114.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7904, allocations: 0 / 0.6184 GB, free: 114.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006656/0.7971, allocations: 2.04 MB / 0.6204 GB, free: 113.9 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01666/0.8138, allocations: 6.821 MB / 0.627 GB, free: 111.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005842/0.8196, allocations: 3.745 MB / 0.6307 GB, free: 109.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.8197, allocations: 3.844 kB / 0.6307 GB, free: 109.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.8223, allocations: 1.869 MB / 0.6325 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.8252, allocations: 484.5 kB / 0.633 GB, free: 108.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03811/0.8633, allocations: 20.99 MB / 0.6535 GB, free: 95.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.8655, allocations: 1.716 MB / 0.6551 GB, free: 94.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003209/0.8687, allocations: 0.6074 MB / 0.6557 GB, free: 94.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/0.8708, allocations: 1.434 MB / 0.6571 GB, free: 93.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.373e-06/0.8708, allocations: 0 / 0.6571 GB, free: 93.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/0.9776, allocations: 87.2 MB / 0.7423 GB, free: 10.71 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.9778, allocations: 199.1 kB / 0.7425 GB, free: 10.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/5.449, allocations: 0 / 0.7425 GB, free: 10.46 MB / 462.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/linux/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) Environment - environmentSimulation: