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.001145/0.001145, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.152/1.152, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1581/0.1581, allocations: 15.32 MB / 305.7 MB, free: 15.32 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.84 kB / 370.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07656/0.07764, allocations: 53.61 MB / 424 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.1434/0.221, allocations: 14.74 MB / 438.8 MB, free: 41.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03185/0.2529, allocations: 49.08 MB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.2547, allocations: 36.44 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.2572, allocations: 1.106 MB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007365/0.2646, allocations: 3.412 MB / 492.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01427/0.2789, allocations: 6.931 MB / 499.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004564/0.2835, allocations: 4.476 MB / 0.492 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/0.2861, allocations: 2.298 MB / 0.4943 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.2888, allocations: 2.054 MB / 0.4963 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/0.2921, allocations: 2.296 MB / 0.4985 GB, free: 2.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.2932, allocations: 383.1 kB / 0.4989 GB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01516/0.3084, allocations: 5.519 MB / 0.5043 GB, free: 1.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.3095, allocations: 0.8841 MB / 0.5051 GB, free: 0.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.3115, allocations: 1.96 MB / 0.507 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01756/0.3291, allocations: 9.88 MB / 0.5167 GB, free: 6.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3291, allocations: 3.938 kB / 0.5167 GB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3291, allocations: 0 / 0.5167 GB, free: 6.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.3292, allocations: 0 / 0.5167 GB, free: 6.484 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.006886/0.3361, allocations: 4.668 MB / 0.5212 GB, free: 1.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3361, allocations: 12.03 kB / 0.5213 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004062/0.3365, allocations: 414.4 kB / 0.5217 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.3399, allocations: 0.9313 MB / 0.5226 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.3418, allocations: 1.536 MB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.342, allocations: 234.6 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004018/0.3424, allocations: 320.2 kB / 0.5246 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005574/0.3479, allocations: 4.464 MB / 0.5289 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/0.348, allocations: 0 / 0.5289 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.3483, allocations: 132 kB / 0.5291 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.3483, allocations: 72 kB / 0.5291 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007608/0.356, allocations: 6.372 MB / 0.5354 GB, free: 3.117 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.01659/0.3726, allocations: 12.68 MB / 0.5477 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006021/0.3786, allocations: 4.609 MB / 0.5522 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.3802, allocations: 1.317 MB / 0.5535 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01375/0.394, allocations: 12.16 MB / 0.5654 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3941, allocations: 56.19 kB / 0.5655 GB, free: 2.332 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 3.977e-06/0.3941, allocations: 0 / 0.5655 GB, free: 2.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.03619/0.4303, allocations: 9.8 MB / 0.575 GB, free: 8.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.4304, allocations: 132.8 kB / 0.5752 GB, free: 8.156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/0.4335, allocations: 3.318 MB / 0.5784 GB, free: 4.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.4336, allocations: 61.7 kB / 0.5785 GB, free: 4.746 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008652/0.4345, allocations: 1.593 MB / 0.58 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005267/0.435, allocations: 0.7896 MB / 0.5808 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007997/0.4358, allocations: 0.6913 MB / 0.5815 GB, free: 1.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.4359, allocations: 301.1 kB / 0.5817 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.4377, allocations: 1.385 MB / 0.5831 GB, free: 15.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/0.4402, allocations: 2.48 MB / 0.5855 GB, free: 12.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/0.4442, allocations: 3.58 MB / 0.589 GB, free: 8.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.4442, allocations: 12 kB / 0.589 GB, free: 8.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01088/0.4551, allocations: 4.971 MB / 0.5939 GB, free: 3.898 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4552, allocations: 20 kB / 0.5939 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/0.4552, allocations: 40.19 kB / 0.5939 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004969/0.4602, allocations: 0.7035 MB / 0.5946 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/0.4625, allocations: 0.8424 MB / 0.5955 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1497/0.6123, allocations: 11.54 MB / 0.6067 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.6147, allocations: 125 kB / 0.6068 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.6149, allocations: 196.6 kB / 0.607 GB, free: 117.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.0008259/0.6157, allocations: 0.5423 MB / 0.6076 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.6162, allocations: 257.9 kB / 0.6078 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008817/0.625, allocations: 3.221 MB / 0.6109 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.625, allocations: 25.25 kB / 0.611 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.625, allocations: 3.125 kB / 0.611 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.6251, allocations: 13.03 kB / 0.611 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.6276, allocations: 2.605 MB / 0.6135 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6277, allocations: 3.344 kB / 0.6135 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.629, allocations: 451.2 kB / 0.614 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004709/0.6337, allocations: 0.677 MB / 0.6146 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6339, allocations: 78.41 kB / 0.6147 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.6442, allocations: 11.29 MB / 0.6257 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6443, allocations: 5.719 kB / 0.6257 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00891/0.6532, allocations: 4.145 MB / 0.6298 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.6536, allocations: 325 kB / 0.6301 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.6539, allocations: 47.06 kB / 0.6301 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.6551, allocations: 59.23 kB / 0.6302 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.6554, allocations: 188.7 kB / 0.6304 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.6556, allocations: 102.1 kB / 0.6305 GB, free: 104.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.6573, allocations: 2.341 MB / 0.6328 GB, free: 103.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6573, allocations: 0 / 0.6328 GB, free: 103.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004258/0.6616, allocations: 2.081 MB / 0.6348 GB, free: 103.3 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.01247/0.674, allocations: 6.852 MB / 0.6415 GB, free: 100.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005699/0.6798, allocations: 3.876 MB / 0.6453 GB, free: 98.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6798, allocations: 1.031 kB / 0.6453 GB, free: 98.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.6819, allocations: 1.885 MB / 0.6471 GB, free: 97.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.6841, allocations: 0.5054 MB / 0.6476 GB, free: 97.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03586/0.7199, allocations: 28.81 MB / 0.6757 GB, free: 79.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009858/0.721, allocations: 1.72 MB / 0.6774 GB, free: 78.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002221/0.7232, allocations: 0.6032 MB / 0.678 GB, free: 78.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.7245, allocations: 1.428 MB / 0.6794 GB, free: 77.45 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.7245, allocations: 3.062 kB / 0.6794 GB, free: 77.45 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.8287, allocations: 91.3 MB / 0.7686 GB, free: 5.836 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.09, allocations: 6.031 kB / 0.7686 GB, free: 5.832 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)