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.005036/0.005036, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001267/0.001267, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2115/0.2115, allocations: 15.32 MB / 305.9 MB, free: 15.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 59.89 kB / 424.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3007, allocations: 53.61 MB / 478.3 MB, free: 25.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01265/0.3134, allocations: 14.74 MB / 493.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0555/0.3689, allocations: 49.08 MB / 0.5294 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/0.3731, allocations: 39.75 kB / 0.5295 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004371/0.3775, allocations: 1.102 MB / 0.5306 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.3905, allocations: 3.41 MB / 0.5339 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02254/0.4131, allocations: 6.926 MB / 0.5406 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009568/0.4227, allocations: 4.501 MB / 0.545 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.4263, allocations: 2.303 MB / 0.5473 GB, free: 192 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.43, allocations: 2.065 MB / 0.5493 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.4344, allocations: 2.297 MB / 0.5516 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001667/0.4361, allocations: 384 kB / 0.5519 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01979/0.4559, allocations: 5.519 MB / 0.5573 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.4576, allocations: 0.8762 MB / 0.5582 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.461, allocations: 1.96 MB / 0.5601 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0295/0.4906, allocations: 9.98 MB / 0.5698 GB, free: 9.043 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.4906, allocations: 4 kB / 0.5698 GB, free: 9.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4906, allocations: 0 / 0.5698 GB, free: 9.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001604/0.4908, allocations: 0 / 0.5698 GB, free: 9.039 MB / 446.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.01024/0.501, allocations: 4.816 MB / 0.5745 GB, free: 4.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5011, allocations: 8.031 kB / 0.5745 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005455/0.5016, allocations: 418.4 kB / 0.5749 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004226/0.5059, allocations: 0.9346 MB / 0.5758 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/0.5092, allocations: 1.604 MB / 0.5774 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.5094, allocations: 238.6 kB / 0.5776 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000663/0.5101, allocations: 320.3 kB / 0.5779 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008159/0.5183, allocations: 4.46 MB / 0.5823 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.672e-05/0.5184, allocations: 0 / 0.5823 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.5187, allocations: 132 kB / 0.5824 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/0.5188, allocations: 76 kB / 0.5825 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.5289, allocations: 6.364 MB / 0.5887 GB, free: 5.449 MB / 462.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.0234/0.5523, allocations: 12.61 MB / 0.601 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007804/0.5602, allocations: 4.633 MB / 0.6056 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.5626, allocations: 1.311 MB / 0.6068 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2732/0.8358, allocations: 12.16 MB / 0.6187 GB, free: 112.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.8359, allocations: 55.89 kB / 0.6188 GB, free: 112.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 5.34e-06/0.8359, allocations: 0 / 0.6188 GB, free: 112.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=227): time 0.04401/0.8799, allocations: 9.903 MB / 0.6284 GB, free: 108 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.88, allocations: 126.2 kB / 0.6286 GB, free: 107.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004011/0.884, allocations: 3.314 MB / 0.6318 GB, free: 106.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004108/0.8845, allocations: 61.83 kB / 0.6319 GB, free: 106.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/0.8854, allocations: 1.642 MB / 0.6335 GB, free: 105.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.8861, allocations: 0.8334 MB / 0.6343 GB, free: 104.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009558/0.887, allocations: 0.6905 MB / 0.6349 GB, free: 104.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.8871, allocations: 304 kB / 0.6352 GB, free: 104.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.889, allocations: 1.382 MB / 0.6366 GB, free: 103.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/0.8915, allocations: 2.487 MB / 0.639 GB, free: 101.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/0.8957, allocations: 3.584 MB / 0.6425 GB, free: 99.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-05/0.8958, allocations: 9.969 kB / 0.6425 GB, free: 99.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01125/0.907, allocations: 4.983 MB / 0.6474 GB, free: 96.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.9071, allocations: 19.72 kB / 0.6474 GB, free: 96.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.607e-05/0.9071, allocations: 35.16 kB / 0.6474 GB, free: 96.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005338/0.9125, allocations: 0.7143 MB / 0.6481 GB, free: 96.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/0.9155, allocations: 0.8418 MB / 0.649 GB, free: 96.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.9282, allocations: 11.55 MB / 0.6602 GB, free: 85.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/0.9315, allocations: 116.2 kB / 0.6604 GB, free: 85.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004661/0.932, allocations: 203.2 kB / 0.6605 GB, free: 85.02 MB / 478.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.001032/0.933, allocations: 0.5403 MB / 0.6611 GB, free: 84.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/0.9337, allocations: 268.1 kB / 0.6613 GB, free: 84.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009365/0.943, allocations: 3.226 MB / 0.6645 GB, free: 81.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.9431, allocations: 24 kB / 0.6645 GB, free: 81.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.9431, allocations: 3.938 kB / 0.6645 GB, free: 81.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.579e-05/0.9431, allocations: 15.95 kB / 0.6645 GB, free: 81.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.9467, allocations: 2.603 MB / 0.6671 GB, free: 78.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.9467, allocations: 11.94 kB / 0.6671 GB, free: 78.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.9483, allocations: 451.8 kB / 0.6675 GB, free: 78.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007503/0.9558, allocations: 0.6664 MB / 0.6682 GB, free: 77.49 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000418/0.9563, allocations: 79.97 kB / 0.6682 GB, free: 77.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.9741, allocations: 11.29 MB / 0.6793 GB, free: 65.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9742, allocations: 4 kB / 0.6793 GB, free: 65.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/0.9906, allocations: 4.169 MB / 0.6833 GB, free: 61.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000942/0.9916, allocations: 336.9 kB / 0.6837 GB, free: 60.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006357/0.9922, allocations: 44 kB / 0.6837 GB, free: 60.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/0.9943, allocations: 55.98 kB / 0.6838 GB, free: 60.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/0.9948, allocations: 201.6 kB / 0.6839 GB, free: 60.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/0.9951, allocations: 91.97 kB / 0.684 GB, free: 60.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002881/0.998, allocations: 2.342 MB / 0.6863 GB, free: 57.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.998, allocations: 0 / 0.6863 GB, free: 57.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008041/1.006, allocations: 2.109 MB / 0.6884 GB, free: 56.02 MB / 478.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.02247/1.029, allocations: 6.9 MB / 0.6951 GB, free: 49.31 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008454/1.037, allocations: 3.774 MB / 0.6988 GB, free: 45.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.037, allocations: 0.875 kB / 0.6988 GB, free: 45.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003584/1.041, allocations: 1.886 MB / 0.7006 GB, free: 43.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/1.045, allocations: 0.5079 MB / 0.7011 GB, free: 43.01 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04791/1.093, allocations: 25.94 MB / 0.7265 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.094, allocations: 1.717 MB / 0.7282 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002364/1.097, allocations: 0.5975 MB / 0.7287 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.098, allocations: 1.424 MB / 0.7301 GB, free: 12.03 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/1.098, allocations: 3.938 kB / 0.7301 GB, free: 12.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.176/1.274, allocations: 92.27 MB / 0.8202 GB, free: 8 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.1/20.37, allocations: 7.875 kB / 0.8202 GB, free: 0 / 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)