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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.07932/0.07932, allocations: 15.26 MB / 22.73 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 192.9 kB / 27.52 MB, free: 6.105 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.5 MB / 253.7 MB, free: 10.35 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009271, allocations: 102.5 kB / 308.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.347e-05, allocations: 2.75 kB / 369.7 MB, free: 53.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08059/0.08062, allocations: 54.64 MB / 424.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3336/0.4143, allocations: 103 MB / 0.515 GB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001366/0.4144, allocations: 66.39 kB / 0.515 GB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.303/0.7175, allocations: 136.1 MB / 0.6479 GB, free: 7.117 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7175, allocations: 0 / 0.6479 GB, free: 7.117 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00012/0.7176, allocations: 60 kB / 0.648 GB, free: 7.059 MB / 458.7 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.007201/0.7249, allocations: 3.617 MB / 0.6515 GB, free: 3.383 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7249, allocations: 16.02 kB / 0.6515 GB, free: 3.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.7283, allocations: 1.027 MB / 0.6525 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.7315, allocations: 1.741 MB / 0.6542 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.7316, allocations: 100 kB / 0.6543 GB, free: 452 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.732, allocations: 195.9 kB / 0.6545 GB, free: 256 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00977/0.7418, allocations: 8.653 MB / 0.6629 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005686/0.7475, allocations: 4.176 MB / 0.667 GB, free: 3.344 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.7476, allocations: 0 / 0.667 GB, free: 3.344 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.7478, allocations: 15.92 kB / 0.667 GB, free: 3.328 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/0.7478, allocations: 76 kB / 0.6671 GB, free: 3.254 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.2478/0.9957, allocations: 15.33 MB / 0.6821 GB, free: 64.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/1.001, allocations: 5.915 MB / 0.6879 GB, free: 63.26 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/1.004, allocations: 2.115 MB / 0.6899 GB, free: 63.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.005, allocations: 0.7305 MB / 0.6906 GB, free: 63.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.005, allocations: 68.59 kB / 0.6907 GB, free: 63.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 5.4e-06/1.005, allocations: 0 / 0.6907 GB, free: 63.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=416): time 0.06533/1.07, allocations: 20.85 MB / 0.7111 GB, free: 60.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.07, allocations: 148.8 kB / 0.7112 GB, free: 60.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/1.073, allocations: 2.761 MB / 0.7139 GB, free: 60.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002922/1.073, allocations: 27.8 kB / 0.7139 GB, free: 60.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/1.073, allocations: 1.243 MB / 0.7151 GB, free: 59.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008222/1.074, allocations: 1.343 MB / 0.7164 GB, free: 59.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/1.074, allocations: 0 / 0.7164 GB, free: 59.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/1.075, allocations: 470.3 kB / 0.7169 GB, free: 58.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002844/1.077, allocations: 3.052 MB / 0.7199 GB, free: 58.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/1.081, allocations: 3.605 MB / 0.7234 GB, free: 58.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007879/1.088, allocations: 4.216 MB / 0.7275 GB, free: 58.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/1.088, allocations: 6.312 kB / 0.7275 GB, free: 58.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01851/1.107, allocations: 9.155 MB / 0.7365 GB, free: 57.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.107, allocations: 12.59 kB / 0.7365 GB, free: 57.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.107, allocations: 11.62 kB / 0.7365 GB, free: 57.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006453/1.113, allocations: 1.074 MB / 0.7375 GB, free: 57.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.117, allocations: 0.9287 MB / 0.7384 GB, free: 57.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.129, allocations: 12.28 MB / 0.7504 GB, free: 47.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004227/1.133, allocations: 328.1 kB / 0.7507 GB, free: 47.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003996/1.134, allocations: 214.9 kB / 0.751 GB, free: 47.4 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_25.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_25.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_37.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_37.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_0.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_0.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (503): * Single equations (assignments): 488 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * 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: 6 {1 6,1 3,1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006345/1.135, allocations: 194.9 kB / 0.7511 GB, free: 47.29 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02095/1.156, allocations: 7.974 MB / 0.7589 GB, free: 44.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008696/1.156, allocations: 268.1 kB / 0.7592 GB, free: 44.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02167/1.178, allocations: 8.541 MB / 0.7675 GB, free: 42.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02041/1.199, allocations: 7.754 MB / 0.7751 GB, free: 39.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/1.199, allocations: 0 / 0.7751 GB, free: 39.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-05/1.199, allocations: 22.84 kB / 0.7751 GB, free: 39.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03076/1.229, allocations: 20.33 MB / 0.795 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/1.229, allocations: 23.38 kB / 0.795 GB, free: 26.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/1.232, allocations: 0.7033 MB / 0.7957 GB, free: 25.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01174/1.243, allocations: 2.165 MB / 0.7978 GB, free: 24.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/1.244, allocations: 83.72 kB / 0.7979 GB, free: 24.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/1.263, allocations: 16.94 MB / 0.8144 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01374/1.277, allocations: 6.891 MB / 0.8211 GB, free: 1.812 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02419/1.301, allocations: 13.28 MB / 0.8341 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009901/1.302, allocations: 444 kB / 0.8345 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/1.302, allocations: 31.61 kB / 0.8346 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.305, allocations: 199.8 kB / 0.8348 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005326/1.305, allocations: 393.5 kB / 0.8351 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.305, allocations: 162.8 kB / 0.8353 GB, free: 4.461 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002105/1.308, allocations: 2.157 MB / 0.8374 GB, free: 2.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.308, allocations: 0 / 0.8374 GB, free: 2.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006271/1.314, allocations: 2.678 MB / 0.84 GB, free: 248 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 12 ($STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 386 * 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: 9 * 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: 6 {1 6,5 8,1 6,5 8,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.2603/1.574, allocations: 22.76 MB / 0.8622 GB, free: 88.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.585, allocations: 7.03 MB / 0.8691 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/1.585, allocations: 2.594 kB / 0.8691 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005172/1.59, allocations: 4.008 MB / 0.873 GB, free: 87.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/1.593, allocations: 462.2 kB / 0.8735 GB, free: 87.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.604, allocations: 7.524 MB / 0.8808 GB, free: 85.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/1.606, allocations: 2.019 MB / 0.8828 GB, free: 84.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002705/1.609, allocations: 0.5869 MB / 0.8833 GB, free: 84.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.611, allocations: 1.479 MB / 0.8848 GB, free: 84.41 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/1.611, allocations: 0 / 0.8848 GB, free: 84.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/1.737, allocations: 107.6 MB / 0.9899 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001207/1.738, allocations: 116.9 kB / 0.99 GB, free: 46.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.294/7.031, allocations: 0 / 0.99 GB, free: 46.63 MB / 0.4948 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/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)