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: translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002568/0.002568, allocations: 172.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.001154/0.001154, allocations: 85.41 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5451/0.5451, allocations: 48.78 MB / 369 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004531, allocations: 12 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1629, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.944/2.107, allocations: 0.7166 GB / 1.205 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/2.107, allocations: 80.39 kB / 1.205 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.788/4.895, allocations: 0.7975 GB / 2.003 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.435e-06/4.895, allocations: 0 / 2.003 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002192/4.896, allocations: 47.7 kB / 2.003 GB, free: 58.92 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.00686/4.902, allocations: 2.137 MB / 2.005 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/4.903, allocations: 12.19 kB / 2.005 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/4.905, allocations: 373.2 kB / 2.005 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/4.908, allocations: 1.115 MB / 2.006 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/4.908, allocations: 136 kB / 2.006 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006226/4.909, allocations: 172.7 kB / 2.006 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005583/4.914, allocations: 2.123 MB / 2.009 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/4.915, allocations: 192 / 2.009 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005066/4.915, allocations: 81.97 kB / 2.009 GB, free: 57.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/4.915, allocations: 46.88 kB / 2.009 GB, free: 57.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/4.919, allocations: 1.853 MB / 2.01 GB, free: 57.14 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.01249/4.932, allocations: 7.158 MB / 2.017 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/4.936, allocations: 1.732 MB / 2.019 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/4.937, allocations: 0.5521 MB / 2.02 GB, free: 53.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/4.937, allocations: 28.84 kB / 2.02 GB, free: 53.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.5e-05/4.937, allocations: 54.91 kB / 2.02 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=100): time 3.948e-06/4.937, allocations: 3.938 kB / 2.02 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100): time 0.01367/4.951, allocations: 4.072 MB / 2.024 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/4.951, allocations: 113.4 kB / 2.024 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/4.954, allocations: 1.842 MB / 2.026 GB, free: 51.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000348/4.954, allocations: 56.77 kB / 2.026 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/4.955, allocations: 0.81 MB / 2.026 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/4.955, allocations: 355.7 kB / 2.027 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/4.955, allocations: 27.88 kB / 2.027 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/4.955, allocations: 360.8 kB / 2.027 GB, free: 49.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/4.957, allocations: 0.5794 MB / 2.028 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/4.958, allocations: 1.004 MB / 2.029 GB, free: 48.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/4.96, allocations: 1.552 MB / 2.03 GB, free: 47.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/4.96, allocations: 2.906 kB / 2.03 GB, free: 47.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004515/4.965, allocations: 2.124 MB / 2.032 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/4.965, allocations: 480.7 kB / 2.033 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/4.965, allocations: 17.22 kB / 2.033 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009118/4.974, allocations: 1.351 MB / 2.034 GB, free: 45.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/4.976, allocations: 339.7 kB / 2.034 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/4.98, allocations: 6.105 MB / 2.04 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/4.983, allocations: 357.3 kB / 2.041 GB, free: 39.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/4.983, allocations: 75.97 kB / 2.041 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/4.983, allocations: 4 kB / 2.041 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003638/4.987, allocations: 1.728 MB / 2.043 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/4.987, allocations: 16 kB / 2.043 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/4.987, allocations: 181.6 kB / 2.043 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/4.989, allocations: 431.4 kB / 2.043 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004342/4.993, allocations: 7.536 MB / 2.05 GB, free: 29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/4.995, allocations: 313.8 kB / 2.051 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/4.996, allocations: 71.98 kB / 2.051 GB, free: 28.62 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.001154/4.997, allocations: 480.6 kB / 2.051 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006351/4.997, allocations: 205.7 kB / 2.052 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/5.001, allocations: 1.774 MB / 2.053 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/5.001, allocations: 12 kB / 2.053 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/5.001, allocations: 4 kB / 2.053 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/5.001, allocations: 3.984 kB / 2.053 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/5.008, allocations: 3.568 MB / 2.057 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/5.008, allocations: 7.938 kB / 2.057 GB, free: 22.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/5.009, allocations: 208.1 kB / 2.057 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006616/5.016, allocations: 1.193 MB / 2.058 GB, free: 21.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/5.016, allocations: 35.97 kB / 2.058 GB, free: 21.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/5.019, allocations: 6.105 MB / 2.064 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/5.019, allocations: 7.938 kB / 2.064 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/5.023, allocations: 1.985 MB / 2.066 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007977/5.024, allocations: 322.4 kB / 2.066 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006053/5.024, allocations: 20 kB / 2.066 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/5.026, allocations: 191.6 kB / 2.067 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/5.027, allocations: 88.69 kB / 2.067 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/5.027, allocations: 79.91 kB / 2.067 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001937/5.029, allocations: 1.249 MB / 2.068 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/5.029, allocations: 0 / 2.068 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004351/5.033, allocations: 1.253 MB / 2.069 GB, free: 9.395 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.002742/5.036, allocations: 1.465 MB / 2.071 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005586/5.041, allocations: 2.673 MB / 2.073 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/5.042, allocations: 9.375 kB / 2.073 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/5.043, allocations: 0.7373 MB / 2.074 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/5.05, allocations: 1.087 MB / 2.075 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/5.055, allocations: 3.566 MB / 2.078 GB, free: 32 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/5.057, allocations: 1.36 MB / 2.08 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002205/5.059, allocations: 373.1 kB / 2.08 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/5.059, allocations: 123.4 kB / 2.08 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/5.059, allocations: 0 / 2.08 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of Templates: time 0.341/5.4, allocations: 64.45 MB / 2.143 GB, free: 70.52 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)