Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValve,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValve,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002152/0.002151, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 82.73 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6486/0.6486, allocations: 48.77 MB / 367.9 MB, free: 47.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004647, allocations: 8 kB / 438.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.173, allocations: 60.24 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.093/2.266, allocations: 0.7164 GB / 1.204 GB, free: 93.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/2.266, allocations: 79.95 kB / 1.204 GB, free: 93.12 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.944/5.21, allocations: 0.7975 GB / 2.001 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.803e-06/5.21, allocations: 0 / 2.001 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001216/5.21, allocations: 53.97 kB / 2.001 GB, free: 58.63 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.00494/5.215, allocations: 2.161 MB / 2.003 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/5.215, allocations: 12.41 kB / 2.003 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003897/5.215, allocations: 251.5 kB / 2.004 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/5.217, allocations: 379 kB / 2.004 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/5.219, allocations: 1.074 MB / 2.005 GB, free: 57.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/5.219, allocations: 135.5 kB / 2.005 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/5.22, allocations: 175.2 kB / 2.005 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/5.224, allocations: 2.104 MB / 2.007 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/5.224, allocations: 2.844 kB / 2.007 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/5.224, allocations: 77.25 kB / 2.008 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/5.224, allocations: 40.75 kB / 2.008 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/5.228, allocations: 1.859 MB / 2.009 GB, free: 56.87 MB / 0.5261 GB 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.009791/5.238, allocations: 7.148 MB / 2.016 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00409/5.242, allocations: 1.729 MB / 2.018 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/5.242, allocations: 27.92 kB / 2.018 GB, free: 53.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/5.242, allocations: 63.73 kB / 2.018 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=100): time 2.515e-06/5.242, allocations: 0 / 2.018 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100): time 0.01307/5.255, allocations: 3.965 MB / 2.022 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/5.255, allocations: 119.5 kB / 2.022 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/5.257, allocations: 1.638 MB / 2.024 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000269/5.258, allocations: 53.45 kB / 2.024 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/5.258, allocations: 0.8123 MB / 2.025 GB, free: 51.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/5.258, allocations: 348.2 kB / 2.025 GB, free: 51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/5.258, allocations: 27.88 kB / 2.025 GB, free: 50.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/5.259, allocations: 359.7 kB / 2.025 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/5.26, allocations: 0.5895 MB / 2.026 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/5.261, allocations: 0.9985 MB / 2.027 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/5.262, allocations: 0.6706 MB / 2.028 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/5.262, allocations: 3.938 kB / 2.028 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004063/5.266, allocations: 2.128 MB / 2.03 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009292/5.267, allocations: 5.235 MB / 2.035 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/5.267, allocations: 15.66 kB / 2.035 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007643/5.275, allocations: 1.21 MB / 2.036 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/5.276, allocations: 341.5 kB / 2.036 GB, free: 42.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003868/5.28, allocations: 6.101 MB / 2.042 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/5.282, allocations: 351.7 kB / 2.043 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/5.283, allocations: 79.8 kB / 2.043 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/5.283, allocations: 3.781 kB / 2.043 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00335/5.286, allocations: 1.734 MB / 2.044 GB, free: 35.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/5.286, allocations: 16 kB / 2.044 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/5.287, allocations: 169.6 kB / 2.044 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/5.288, allocations: 439.3 kB / 2.045 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/5.292, allocations: 7.568 MB / 2.052 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/5.294, allocations: 313.8 kB / 2.053 GB, free: 26.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/5.295, allocations: 79.97 kB / 2.053 GB, free: 26.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 18,2 18} Notification: Performance of prepare postOptimizeDAE: time 0.001178/5.296, allocations: 483.2 kB / 2.053 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/5.296, allocations: 197.8 kB / 2.053 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/5.3, allocations: 1.777 MB / 2.055 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/5.3, allocations: 16 kB / 2.055 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/5.3, allocations: 0 / 2.055 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/5.3, allocations: 3.984 kB / 2.055 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005998/5.306, allocations: 3.558 MB / 2.059 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/5.306, allocations: 4 kB / 2.059 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/5.307, allocations: 214 kB / 2.059 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007349/5.314, allocations: 1.197 MB / 2.06 GB, free: 18.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/5.314, allocations: 35.97 kB / 2.06 GB, free: 18.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/5.318, allocations: 6.113 MB / 2.066 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/5.319, allocations: 7.938 kB / 2.066 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/5.323, allocations: 2.247 MB / 2.068 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/5.324, allocations: 318.4 kB / 2.068 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006852/5.324, allocations: 24 kB / 2.068 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/5.327, allocations: 183.8 kB / 2.069 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/5.327, allocations: 92.64 kB / 2.069 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002937/5.327, allocations: 83.91 kB / 2.069 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002339/5.33, allocations: 1.241 MB / 2.07 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/5.33, allocations: 0 / 2.07 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005178/5.335, allocations: 1.255 MB / 2.071 GB, free: 6.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 simulation (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 20,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007039/5.342, allocations: 5.194 MB / 2.076 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006329/5.348, allocations: 2.641 MB / 2.079 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/5.348, allocations: 5 kB / 2.079 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/5.351, allocations: 0.7261 MB / 2.08 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005965/5.357, allocations: 1.064 MB / 2.081 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3107/5.667, allocations: 13.7 MB / 2.094 GB, free: 72.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/5.668, allocations: 1.408 MB / 2.095 GB, free: 71.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002397/5.671, allocations: 364.6 kB / 2.096 GB, free: 71.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00086/5.672, allocations: 0.6883 MB / 2.096 GB, free: 71.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/5.672, allocations: 0 / 2.096 GB, free: 71.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/5.808, allocations: 82.75 MB / 2.177 GB, free: 69.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/5.808, allocations: 212.1 kB / 2.177 GB, free: 68.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.35/11.16, allocations: 0 / 2.177 GB, free: 68.81 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasValve.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)