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.001482/0.001482, allocations: 181.4 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 88.34 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6655/0.6655, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/1.966e-05, allocations: 0 / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 60.26 MB / 485.5 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.639/2.821, allocations: 0.7157 GB / 1.19 GB, free: 91.47 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/2.822, allocations: 79.39 kB / 1.19 GB, free: 91.43 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 3.739/6.561, allocations: 0.7879 GB / 1.978 GB, free: 59.93 MB / 0.5265 GB Notification: Performance of FrontEnd: time 1.663e-06/6.561, allocations: 1.5 kB / 1.978 GB, free: 59.93 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0003336/6.561, allocations: 55.83 kB / 1.978 GB, free: 59.93 MB / 0.5265 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.009486/6.571, allocations: 1.961 MB / 1.98 GB, free: 59.12 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/6.571, allocations: 7.25 kB / 1.98 GB, free: 59.12 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/6.574, allocations: 374.8 kB / 1.98 GB, free: 59.02 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/6.578, allocations: 1.069 MB / 1.981 GB, free: 58.6 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/6.578, allocations: 59.72 kB / 1.981 GB, free: 58.6 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005948/6.579, allocations: 103 kB / 1.981 GB, free: 58.6 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004556/6.583, allocations: 1.451 MB / 1.983 GB, free: 58.59 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005849/6.589, allocations: 1.666 MB / 1.984 GB, free: 58.48 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/6.589, allocations: 6.969 kB / 1.984 GB, free: 58.48 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006342/6.59, allocations: 3.938 kB / 1.984 GB, free: 58.48 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/6.59, allocations: 37.56 kB / 1.984 GB, free: 58.48 MB / 0.5265 GB 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.01543/6.606, allocations: 6.537 MB / 1.991 GB, free: 55.25 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005152/6.611, allocations: 1.409 MB / 1.992 GB, free: 55.16 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008788/6.612, allocations: 382.3 kB / 1.993 GB, free: 55.14 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/6.612, allocations: 24.47 kB / 1.993 GB, free: 55.14 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/6.612, allocations: 61.8 kB / 1.993 GB, free: 55.1 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=100): time 4.698e-06/6.612, allocations: 0 / 1.993 GB, free: 55.1 MB / 0.5265 GB Notification: Performance of matching and sorting (n=100): time 0.005533/6.617, allocations: 1.204 MB / 1.994 GB, free: 54.95 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/6.618, allocations: 110.7 kB / 1.994 GB, free: 54.82 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/6.62, allocations: 0.8858 MB / 1.995 GB, free: 54.66 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0003414/6.62, allocations: 32.05 kB / 1.995 GB, free: 54.63 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/6.621, allocations: 0.8401 MB / 1.996 GB, free: 54.22 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/6.621, allocations: 331.8 kB / 1.996 GB, free: 54 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/6.621, allocations: 0 / 1.996 GB, free: 54 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001323/6.621, allocations: 362.5 kB / 1.996 GB, free: 53.7 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/6.623, allocations: 415.6 kB / 1.997 GB, free: 53.69 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/6.624, allocations: 0.8 MB / 1.998 GB, free: 53.22 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/6.626, allocations: 0.5414 MB / 1.998 GB, free: 53.2 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/6.626, allocations: 3.719 kB / 1.998 GB, free: 53.2 MB / 0.5265 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004886/6.631, allocations: 1.568 MB / 2 GB, free: 52.99 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.001116/6.632, allocations: 5.043 MB / 2.004 GB, free: 47.74 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/6.632, allocations: 13.44 kB / 2.005 GB, free: 47.74 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004927/6.637, allocations: 0.6088 MB / 2.005 GB, free: 47.72 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/6.639, allocations: 333.8 kB / 2.005 GB, free: 47.7 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/6.645, allocations: 5.985 MB / 2.011 GB, free: 42.52 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/6.648, allocations: 257.8 kB / 2.012 GB, free: 42.45 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/6.648, allocations: 81.03 kB / 2.012 GB, free: 42.45 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/6.648, allocations: 3.844 kB / 2.012 GB, free: 42.45 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003529/6.652, allocations: 1.215 MB / 2.013 GB, free: 42.33 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.667e-05/6.652, allocations: 16.28 kB / 2.013 GB, free: 42.33 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007991/6.653, allocations: 174.5 kB / 2.013 GB, free: 42.31 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/6.655, allocations: 433.7 kB / 2.013 GB, free: 42.29 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006/6.661, allocations: 7.43 MB / 2.021 GB, free: 35.59 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/6.664, allocations: 209.5 kB / 2.021 GB, free: 35.54 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/6.664, allocations: 75.55 kB / 2.021 GB, free: 35.54 MB / 0.5265 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 () * 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.0006783/6.664, allocations: 146.8 kB / 2.021 GB, free: 35.41 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007787/6.665, allocations: 143.1 kB / 2.021 GB, free: 35.34 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/6.67, allocations: 1.246 MB / 2.022 GB, free: 35.21 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/6.67, allocations: 14.53 kB / 2.022 GB, free: 35.21 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/6.67, allocations: 0 / 2.022 GB, free: 35.21 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/6.67, allocations: 3.75 kB / 2.022 GB, free: 35.21 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00761/6.677, allocations: 2.882 MB / 2.025 GB, free: 34.48 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/6.677, allocations: 6.125 kB / 2.025 GB, free: 34.48 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/6.678, allocations: 199.1 kB / 2.025 GB, free: 34.47 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/6.682, allocations: 0.5817 MB / 2.026 GB, free: 34.46 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/6.682, allocations: 20.34 kB / 2.026 GB, free: 34.46 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/6.687, allocations: 5.92 MB / 2.032 GB, free: 29.29 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/6.687, allocations: 7.812 kB / 2.032 GB, free: 29.29 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004817/6.691, allocations: 1.687 MB / 2.033 GB, free: 28.49 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009893/6.692, allocations: 238.7 kB / 2.034 GB, free: 28.31 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006342/6.693, allocations: 9.141 kB / 2.034 GB, free: 28.31 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003478/6.697, allocations: 160.2 kB / 2.034 GB, free: 28.3 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/6.697, allocations: 85.2 kB / 2.034 GB, free: 28.3 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000474/6.697, allocations: 88.31 kB / 2.034 GB, free: 28.3 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.001495/6.699, allocations: 0.6368 MB / 2.035 GB, free: 28.19 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.11e-07/6.699, allocations: 6.016 kB / 2.035 GB, free: 28.19 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.006297/6.705, allocations: 1.241 MB / 2.036 GB, free: 27.98 MB / 0.5265 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 () * 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.004088/6.709, allocations: 1.715 MB / 2.038 GB, free: 27.68 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.006454/6.716, allocations: 2.053 MB / 2.04 GB, free: 27.34 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.293e-05/6.716, allocations: 9.062 kB / 2.04 GB, free: 27.34 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/6.718, allocations: 0.5301 MB / 2.04 GB, free: 27.3 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/6.722, allocations: 0.5183 MB / 2.041 GB, free: 27.28 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/6.728, allocations: 2.029 MB / 2.043 GB, free: 26.55 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/6.731, allocations: 1.413 MB / 2.044 GB, free: 41.81 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.003596/6.734, allocations: 318 kB / 2.044 GB, free: 41.79 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/6.735, allocations: 84.47 kB / 2.044 GB, free: 41.78 MB / 0.5421 GB Notification: Performance of SimCode: time 8.82e-07/6.735, allocations: 0 / 2.044 GB, free: 41.78 MB / 0.5421 GB Notification: Performance of Templates: time 0.09129/6.826, allocations: 40.54 MB / 2.084 GB, free: 14.15 MB / 0.5421 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)