Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001575, allocations: 175.5 kB / 17.4 MB, free: 4.422 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.954/1.954, allocations: 205.4 MB / 223.5 MB, free: 9.012 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.0009199/0.00092, allocations: 81.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.545/0.545, allocations: 48.78 MB / 369 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004781, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, allocations: 60.26 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.974/2.137, allocations: 0.7198 GB / 1.208 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/2.138, allocations: 87.81 kB / 1.208 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.672/4.81, allocations: 0.7542 GB / 1.963 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.576e-06/4.81, allocations: 0 / 1.963 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001519/4.81, allocations: 37.02 kB / 1.963 GB, free: 77.73 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005288/4.815, allocations: 1.706 MB / 1.964 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/4.815, allocations: 11.47 kB / 1.964 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/4.817, allocations: 300 kB / 1.964 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/4.82, allocations: 0.9043 MB / 1.965 GB, free: 76.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/4.82, allocations: 108 kB / 1.965 GB, free: 76.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005763/4.821, allocations: 133.2 kB / 1.966 GB, free: 76.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/4.825, allocations: 1.81 MB / 1.967 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/4.825, allocations: 1.031 kB / 1.967 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003607/4.826, allocations: 64.97 kB / 1.967 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/4.826, allocations: 32.62 kB / 1.967 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/4.829, allocations: 1.527 MB / 1.969 GB, free: 76.54 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.01056/4.839, allocations: 5.784 MB / 1.975 GB, free: 74.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/4.842, allocations: 1.198 MB / 1.976 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006809/4.843, allocations: 357.5 kB / 1.976 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.228e-05/4.843, allocations: 14.88 kB / 1.976 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/4.843, allocations: 56.45 kB / 1.976 GB, free: 74.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=62): time 2.935e-06/4.843, allocations: 0 / 1.976 GB, free: 74.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62): time 0.007762/4.851, allocations: 2.521 MB / 1.979 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/4.851, allocations: 92.45 kB / 1.979 GB, free: 73.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/4.854, allocations: 1.632 MB / 1.98 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002933/4.854, allocations: 47.45 kB / 1.98 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005611/4.855, allocations: 0.6271 MB / 1.981 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/4.855, allocations: 220.3 kB / 1.981 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/4.855, allocations: 19.38 kB / 1.981 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/4.855, allocations: 338.4 kB / 1.982 GB, free: 72.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009596/4.856, allocations: 484.8 kB / 1.982 GB, free: 72.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/4.857, allocations: 0.6266 MB / 1.983 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/4.859, allocations: 0.9475 MB / 1.984 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/4.859, allocations: 0 / 1.984 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003211/4.862, allocations: 1.528 MB / 1.985 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/4.862, allocations: 214.1 kB / 1.985 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/4.862, allocations: 3.281 kB / 1.985 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005714/4.868, allocations: 0.8402 MB / 1.986 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/4.869, allocations: 240.2 kB / 1.986 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/4.872, allocations: 4.017 MB / 1.99 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/4.874, allocations: 251.7 kB / 1.99 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/4.874, allocations: 53.09 kB / 1.991 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/4.874, allocations: 7.094 kB / 1.991 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002777/4.877, allocations: 1.24 MB / 1.992 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/4.877, allocations: 3.062 kB / 1.992 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/4.877, allocations: 108.6 kB / 1.992 GB, free: 68.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/4.879, allocations: 311.2 kB / 1.992 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/4.882, allocations: 5.456 MB / 1.997 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/4.884, allocations: 225.8 kB / 1.998 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/4.884, allocations: 53.17 kB / 1.998 GB, free: 63.44 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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 {1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001007/4.885, allocations: 436.2 kB / 1.998 GB, free: 63.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/4.885, allocations: 152.7 kB / 1.998 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/4.888, allocations: 1.155 MB / 1.999 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/4.888, allocations: 7.719 kB / 1.999 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/4.888, allocations: 3.938 kB / 1.999 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/4.888, allocations: 0 / 1.999 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00523/4.894, allocations: 2.482 MB / 2.002 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/4.894, allocations: 13.97 kB / 2.002 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/4.894, allocations: 118.8 kB / 2.002 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004218/4.898, allocations: 0.7462 MB / 2.003 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.894e-05/4.898, allocations: 22.8 kB / 2.003 GB, free: 62.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/4.901, allocations: 4.034 MB / 2.007 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/4.901, allocations: 3.969 kB / 2.007 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/4.904, allocations: 1.33 MB / 2.008 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/4.905, allocations: 274.9 kB / 2.008 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/4.905, allocations: 21.44 kB / 2.008 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/4.907, allocations: 123.2 kB / 2.008 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/4.907, allocations: 56.11 kB / 2.008 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/4.907, allocations: 65.5 kB / 2.008 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00203/4.909, allocations: 1.144 MB / 2.01 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.433e-06/4.909, allocations: 0 / 2.01 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00387/4.913, allocations: 0.9344 MB / 2.011 GB, free: 58.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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 {1 13,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002899/4.916, allocations: 1.178 MB / 2.012 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004759/4.921, allocations: 1.898 MB / 2.014 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/4.921, allocations: 4.719 kB / 2.014 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/4.922, allocations: 465.8 kB / 2.014 GB, free: 57.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006238/4.928, allocations: 0.9733 MB / 2.015 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/4.933, allocations: 2.65 MB / 2.018 GB, free: 56.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000923/4.934, allocations: 1.21 MB / 2.019 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002307/4.937, allocations: 326.4 kB / 2.019 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/4.937, allocations: 99.47 kB / 2.019 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.163e-06/4.937, allocations: 0 / 2.019 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.07216/5.009, allocations: 54.51 MB / 2.072 GB, free: 14.95 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe 2>&1)