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.00812/0.00812, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001858/0.001858, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07922/0.07922, allocations: 15.31 MB / 305.8 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.11 kB / 424.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 53.61 MB / 478.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.0171/0.1252, allocations: 14.74 MB / 493 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3039/0.4292, allocations: 49.09 MB / 0.5294 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.4324, allocations: 38.38 kB / 0.5295 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003693/0.4362, allocations: 1.101 MB / 0.5305 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.4483, allocations: 3.439 MB / 0.5339 GB, free: 380 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02404/0.4724, allocations: 6.985 MB / 0.5407 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007906/0.4803, allocations: 4.497 MB / 0.5451 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003702/0.484, allocations: 2.304 MB / 0.5474 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.4878, allocations: 2.061 MB / 0.5494 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003967/0.4918, allocations: 2.297 MB / 0.5516 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.493, allocations: 382.8 kB / 0.552 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01884/0.5118, allocations: 5.521 MB / 0.5574 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.5136, allocations: 0.884 MB / 0.5582 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003991/0.5176, allocations: 1.96 MB / 0.5601 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03291/0.5505, allocations: 9.95 MB / 0.5699 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5506, allocations: 0 / 0.5699 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5506, allocations: 0 / 0.5699 GB, free: 5.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001863/0.5508, allocations: 0 / 0.5699 GB, free: 5.734 MB / 414.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.01118/0.562, allocations: 4.664 MB / 0.5744 GB, free: 1.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.562, allocations: 8.031 kB / 0.5744 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001015/0.5631, allocations: 422.4 kB / 0.5748 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.5677, allocations: 0.9231 MB / 0.5757 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.5712, allocations: 1.587 MB / 0.5773 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.5715, allocations: 230.6 kB / 0.5775 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.5726, allocations: 320.2 kB / 0.5778 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009251/0.5819, allocations: 4.465 MB / 0.5822 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.582, allocations: 0 / 0.5822 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005403/0.5826, allocations: 127.9 kB / 0.5823 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/0.5826, allocations: 76 kB / 0.5824 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009445/0.5921, allocations: 6.364 MB / 0.5886 GB, free: 2.34 MB / 430.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.02357/0.6157, allocations: 12.59 MB / 0.6009 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007312/0.623, allocations: 4.627 MB / 0.6054 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.6253, allocations: 1.312 MB / 0.6067 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02635/0.6517, allocations: 12.16 MB / 0.6185 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.997e-05/0.6518, allocations: 60.19 kB / 0.6186 GB, free: 1.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=182): time 7.905e-06/0.6518, allocations: 4 kB / 0.6186 GB, free: 1.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.07495/0.7268, allocations: 9.771 MB / 0.6281 GB, free: 7.605 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.7269, allocations: 132.7 kB / 0.6283 GB, free: 7.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004667/0.7316, allocations: 3.318 MB / 0.6315 GB, free: 4.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006741/0.7323, allocations: 65.7 kB / 0.6316 GB, free: 4.035 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.7339, allocations: 1.593 MB / 0.6331 GB, free: 2.422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.7351, allocations: 0.7935 MB / 0.6339 GB, free: 1.617 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.7362, allocations: 0.6836 MB / 0.6346 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7363, allocations: 301.1 kB / 0.6349 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.7387, allocations: 1.381 MB / 0.6362 GB, free: 15.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/0.7417, allocations: 2.488 MB / 0.6386 GB, free: 12.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/0.7463, allocations: 3.58 MB / 0.6421 GB, free: 8.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/0.7464, allocations: 8 kB / 0.6421 GB, free: 8.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01331/0.7597, allocations: 4.975 MB / 0.647 GB, free: 3.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.7598, allocations: 24 kB / 0.647 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-05/0.7598, allocations: 32 kB / 0.6471 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005882/0.7657, allocations: 0.7153 MB / 0.6478 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0034/0.7692, allocations: 0.8425 MB / 0.6486 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.7857, allocations: 11.54 MB / 0.6598 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/0.7888, allocations: 112 kB / 0.66 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006938/0.7896, allocations: 203.9 kB / 0.6601 GB, free: 4.887 MB / 0.4981 GB 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.00154/0.7911, allocations: 0.5474 MB / 0.6607 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008552/0.792, allocations: 252.8 kB / 0.6609 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.8034, allocations: 3.23 MB / 0.6641 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/0.8035, allocations: 24 kB / 0.6641 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/0.8035, allocations: 4 kB / 0.6641 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.793e-05/0.8036, allocations: 11.95 kB / 0.6641 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/0.809, allocations: 2.598 MB / 0.6667 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.584e-05/0.8091, allocations: 4 kB / 0.6667 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.8109, allocations: 451.8 kB / 0.6671 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005428/0.8163, allocations: 0.6722 MB / 0.6677 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003688/0.8167, allocations: 75.97 kB / 0.6678 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/0.8316, allocations: 11.3 MB / 0.6788 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.8317, allocations: 4 kB / 0.6789 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.8444, allocations: 4.152 MB / 0.6829 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/0.8452, allocations: 317.8 kB / 0.6832 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007173/0.8459, allocations: 51.94 kB / 0.6833 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/0.8478, allocations: 59.98 kB / 0.6833 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005054/0.8483, allocations: 197.6 kB / 0.6835 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/0.8486, allocations: 91.91 kB / 0.6836 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003075/0.8516, allocations: 2.342 MB / 0.6859 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8517, allocations: 0 / 0.6859 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006639/0.8583, allocations: 2.088 MB / 0.6879 GB, free: 7.336 MB / 0.5294 GB 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.01715/0.8755, allocations: 6.846 MB / 0.6946 GB, free: 408 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006838/0.8824, allocations: 3.767 MB / 0.6983 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.8824, allocations: 448 / 0.6983 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003075/0.8855, allocations: 1.886 MB / 0.7001 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.8888, allocations: 0.503 MB / 0.7006 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2668/1.156, allocations: 25.79 MB / 0.7258 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.157, allocations: 1.715 MB / 0.7275 GB, free: 177.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002299/1.159, allocations: 0.603 MB / 0.7281 GB, free: 177.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.161, allocations: 1.428 MB / 0.7295 GB, free: 176.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.273e-06/1.161, allocations: 1.438 kB / 0.7295 GB, free: 176.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/1.292, allocations: 92.27 MB / 0.8196 GB, free: 99.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.44/20.73, allocations: 7.984 kB / 0.8196 GB, free: 99.97 MB / 0.545 GB (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)