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.001173/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00123/0.00123, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1798/0.1798, allocations: 15.31 MB / 305.3 MB, free: 15.34 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 369.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.08939, allocations: 53.61 MB / 423.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.1695/0.2589, allocations: 17.25 MB / 440.6 MB, free: 41.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0361/0.295, allocations: 49.06 MB / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.2978, allocations: 76 kB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003089/0.3009, allocations: 1.003 MB / 490.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008746/0.3097, allocations: 3.003 MB / 493.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01657/0.3263, allocations: 6.065 MB / 499.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.332, allocations: 4.272 MB / 0.4923 GB, free: 5.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002645/0.3346, allocations: 1.971 MB / 0.4942 GB, free: 4.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.3377, allocations: 2.004 MB / 0.4962 GB, free: 3.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.3416, allocations: 2.242 MB / 0.4983 GB, free: 2.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008877/0.3425, allocations: 243.4 kB / 0.4986 GB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01723/0.3598, allocations: 5.398 MB / 0.5039 GB, free: 1.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.3613, allocations: 0.7663 MB / 0.5046 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.3639, allocations: 1.837 MB / 0.5064 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02247/0.3864, allocations: 9.278 MB / 0.5155 GB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3865, allocations: 3.984 kB / 0.5155 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3865, allocations: 0 / 0.5155 GB, free: 7.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.897e-05/0.3866, allocations: 3.938 kB / 0.5155 GB, free: 7.555 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.008542/0.3951, allocations: 4.664 MB / 0.52 GB, free: 2.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3952, allocations: 16.02 kB / 0.52 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004729/0.3957, allocations: 414.4 kB / 0.5204 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004049/0.3997, allocations: 0.9272 MB / 0.5213 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.4023, allocations: 1.54 MB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.4025, allocations: 234.6 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005497/0.4031, allocations: 320.3 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006992/0.4101, allocations: 4.464 MB / 0.5277 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/0.4102, allocations: 0 / 0.5277 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.4105, allocations: 128 kB / 0.5278 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.4105, allocations: 72 kB / 0.5279 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00867/0.4192, allocations: 6.368 MB / 0.5341 GB, free: 4.191 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.02306/0.4423, allocations: 12.64 MB / 0.5465 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.4494, allocations: 4.619 MB / 0.551 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.4515, allocations: 1.312 MB / 0.5523 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01583/0.4673, allocations: 12.19 MB / 0.5642 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4674, allocations: 60.19 kB / 0.5642 GB, free: 3.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 3.497e-06/0.4674, allocations: 3.938 kB / 0.5642 GB, free: 3.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04596/0.5133, allocations: 9.768 MB / 0.5738 GB, free: 9.398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.5134, allocations: 132.7 kB / 0.5739 GB, free: 9.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/0.5174, allocations: 3.314 MB / 0.5771 GB, free: 5.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.5177, allocations: 61.7 kB / 0.5772 GB, free: 5.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.5188, allocations: 1.593 MB / 0.5788 GB, free: 4.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008349/0.5197, allocations: 0.8012 MB / 0.5795 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.5209, allocations: 0.6835 MB / 0.5802 GB, free: 2.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.521, allocations: 309.1 kB / 0.5805 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.5231, allocations: 1.374 MB / 0.5818 GB, free: 1.043 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/0.5261, allocations: 2.492 MB / 0.5843 GB, free: 14.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004729/0.5308, allocations: 3.584 MB / 0.5878 GB, free: 9.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.5309, allocations: 12 kB / 0.5878 GB, free: 9.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01297/0.5438, allocations: 4.971 MB / 0.5926 GB, free: 4.984 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.5439, allocations: 20 kB / 0.5927 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.233e-05/0.544, allocations: 36 kB / 0.5927 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006046/0.55, allocations: 0.7075 MB / 0.5934 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.5528, allocations: 0.8425 MB / 0.5942 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1543/0.7071, allocations: 10.42 MB / 0.6044 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.71, allocations: 189.1 kB / 0.6046 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/0.7103, allocations: 199 kB / 0.6047 GB, free: 121.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 (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.0009377/0.7113, allocations: 0.5433 MB / 0.6053 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004972/0.7118, allocations: 263.8 kB / 0.6055 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.722, allocations: 3.219 MB / 0.6087 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.7221, allocations: 22.56 kB / 0.6087 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/0.7221, allocations: 3.156 kB / 0.6087 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.982e-05/0.7222, allocations: 13.22 kB / 0.6087 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.7266, allocations: 2.606 MB / 0.6113 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.7266, allocations: 7.156 kB / 0.6113 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.7281, allocations: 446.2 kB / 0.6117 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005686/0.7338, allocations: 0.6655 MB / 0.6123 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.734, allocations: 82.11 kB / 0.6124 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.7454, allocations: 10.16 MB / 0.6223 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7455, allocations: 13.47 kB / 0.6223 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.7558, allocations: 4.16 MB / 0.6264 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/0.7565, allocations: 320 kB / 0.6267 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.7568, allocations: 45.62 kB / 0.6268 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.7583, allocations: 82.61 kB / 0.6268 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/0.7587, allocations: 204 kB / 0.627 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.7589, allocations: 97.33 kB / 0.6271 GB, free: 109.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002036/0.7609, allocations: 2.338 MB / 0.6294 GB, free: 108.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7609, allocations: 0 / 0.6294 GB, free: 108.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005117/0.7661, allocations: 2.066 MB / 0.6314 GB, free: 107.8 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 (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.01697/0.783, allocations: 6.848 MB / 0.6381 GB, free: 105.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006294/0.7894, allocations: 3.761 MB / 0.6418 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.7894, allocations: 1.281 kB / 0.6418 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002681/0.7921, allocations: 1.884 MB / 0.6436 GB, free: 102.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.7947, allocations: 467.1 kB / 0.6441 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04699/0.8417, allocations: 30.1 MB / 0.6735 GB, free: 83.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.8431, allocations: 1.723 MB / 0.6751 GB, free: 82.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002909/0.846, allocations: 0.6164 MB / 0.6757 GB, free: 82.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/0.8477, allocations: 1.426 MB / 0.6771 GB, free: 81.06 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.8477, allocations: 0 / 0.6771 GB, free: 81.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3075/1.155, allocations: 88.82 MB / 0.7639 GB, free: 11.82 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.156, allocations: 228.9 kB / 0.7641 GB, free: 11.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.404/5.56, allocations: 0 / 0.7641 GB, free: 11.55 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)