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.0009698/0.0009698, 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.001188/0.001188, 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.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2012/0.2012, allocations: 15.26 MB / 306.2 MB, free: 15.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003414, allocations: 8 kB / 371.5 MB, free: 3.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2973, allocations: 54.61 MB / 426.1 MB, free: 39.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01077/0.3081, allocations: 13.8 MB / 439.9 MB, free: 33.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03602/0.3442, allocations: 41.42 MB / 481.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.3476, allocations: 69.97 kB / 481.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003611/0.3512, allocations: 1.038 MB / 482.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.363, allocations: 3.539 MB / 485.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02119/0.3842, allocations: 6.216 MB / 492.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007291/0.3916, allocations: 2.978 MB / 495.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.3942, allocations: 1.819 MB / 496.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.3972, allocations: 1.53 MB / 498.5 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/0.4004, allocations: 2.013 MB / 0.4888 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005306/0.401, allocations: 199.4 kB / 0.489 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02218/0.4231, allocations: 6.074 MB / 0.4949 GB, free: 5.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.4249, allocations: 0.6734 MB / 0.4955 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.4265, allocations: 0.6445 MB / 0.4962 GB, free: 4.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.4407, allocations: 5.879 MB / 0.5019 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4408, allocations: 0 / 0.5019 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4408, allocations: 0 / 0.5019 GB, free: 14.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.895e-05/0.4409, allocations: 0 / 0.5019 GB, free: 14.12 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.00782/0.4487, allocations: 3.892 MB / 0.5057 GB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4488, allocations: 11.97 kB / 0.5057 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000808/0.4496, allocations: 418.2 kB / 0.5061 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00384/0.4534, allocations: 0.9249 MB / 0.507 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.4558, allocations: 1.395 MB / 0.5084 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.456, allocations: 234.2 kB / 0.5086 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005855/0.4565, allocations: 315.8 kB / 0.5089 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005981/0.4625, allocations: 4.413 MB / 0.5132 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.4626, allocations: 0 / 0.5132 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.4629, allocations: 128 kB / 0.5133 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.284e-05/0.463, allocations: 72 kB / 0.5134 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008223/0.4712, allocations: 6.353 MB / 0.5196 GB, free: 11.75 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.01861/0.4898, allocations: 12.42 MB / 0.5317 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007086/0.497, allocations: 4.608 MB / 0.5362 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/0.5125, allocations: 11.8 MB / 0.5478 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.5126, allocations: 52.25 kB / 0.5478 GB, free: 12.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 3.277e-06/0.5126, allocations: 0 / 0.5478 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04331/0.5559, allocations: 9.888 MB / 0.5575 GB, free: 2.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.5561, allocations: 128.7 kB / 0.5576 GB, free: 2.648 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.5606, allocations: 3.295 MB / 0.5608 GB, free: 15.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004562/0.5611, allocations: 61.7 kB / 0.5609 GB, free: 15.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.5622, allocations: 1.589 MB / 0.5624 GB, free: 13.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008228/0.563, allocations: 0.7935 MB / 0.5632 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.5632, allocations: 72 kB / 0.5633 GB, free: 12.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5634, allocations: 441.6 kB / 0.5637 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.5653, allocations: 1.37 MB / 0.565 GB, free: 10.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/0.5681, allocations: 2.453 MB / 0.5674 GB, free: 8.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.5706, allocations: 1.68 MB / 0.5691 GB, free: 6.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.5707, allocations: 12 kB / 0.5691 GB, free: 6.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01266/0.5833, allocations: 4.975 MB / 0.5739 GB, free: 1.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.5834, allocations: 22.03 kB / 0.574 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/0.5835, allocations: 36.19 kB / 0.574 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005986/0.5895, allocations: 0.7619 MB / 0.5747 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/0.5928, allocations: 0.8425 MB / 0.5756 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.6086, allocations: 10.6 MB / 0.5859 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/0.6128, allocations: 187.8 kB / 0.5861 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006252/0.6135, allocations: 199.9 kB / 0.5863 GB, free: 3.887 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.001296/0.6148, allocations: 0.5473 MB / 0.5868 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/0.6153, allocations: 256.7 kB / 0.5871 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2285/0.8438, allocations: 3.247 MB / 0.5902 GB, free: 129.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/0.8439, allocations: 23.53 kB / 0.5902 GB, free: 129.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.8439, allocations: 3.469 kB / 0.5902 GB, free: 129.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.618e-05/0.844, allocations: 13.38 kB / 0.5903 GB, free: 129.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/0.8482, allocations: 2.606 MB / 0.5928 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.8483, allocations: 5.094 kB / 0.5928 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.8499, allocations: 448.2 kB / 0.5932 GB, free: 129.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005812/0.8557, allocations: 0.7134 MB / 0.5939 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003688/0.8561, allocations: 77.33 kB / 0.594 GB, free: 129.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.8685, allocations: 10.33 MB / 0.6041 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8686, allocations: 6.875 kB / 0.6041 GB, free: 121.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.8797, allocations: 4.436 MB / 0.6084 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008709/0.8806, allocations: 372.4 kB / 0.6088 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/0.881, allocations: 46.56 kB / 0.6088 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.8825, allocations: 88.84 kB / 0.6089 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003689/0.8828, allocations: 195.8 kB / 0.6091 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.883, allocations: 98.12 kB / 0.6092 GB, free: 119.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002155/0.8852, allocations: 2.323 MB / 0.6115 GB, free: 118.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8852, allocations: 0 / 0.6115 GB, free: 118.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005472/0.8906, allocations: 2.022 MB / 0.6134 GB, free: 118.5 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.01568/0.9064, allocations: 7.927 MB / 0.6212 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006443/0.9128, allocations: 3.751 MB / 0.6248 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.9129, allocations: 1 kB / 0.6248 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002994/0.9159, allocations: 1.87 MB / 0.6267 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.9188, allocations: 441.2 kB / 0.6271 GB, free: 111.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.9366, allocations: 33.81 MB / 0.6601 GB, free: 80.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/0.9384, allocations: 1.774 MB / 0.6618 GB, free: 79.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003053/0.9415, allocations: 0.6106 MB / 0.6624 GB, free: 79.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/0.9432, allocations: 1.431 MB / 0.6638 GB, free: 78.11 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.9432, allocations: 7.938 kB / 0.6638 GB, free: 78.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.053, allocations: 86.65 MB / 0.7485 GB, free: 4.98 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/1.054, allocations: 190.6 kB / 0.7486 GB, free: 4.742 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.619/5.673, allocations: 3.938 kB / 0.7486 GB, free: 4.738 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: