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.001943/0.001943, allocations: 181.2 kB / 16.38 MB, free: 5.762 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.128/2.128, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001474/0.001474, allocations: 86.64 kB / 270.8 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6713/0.6713, allocations: 48.77 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 8 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 60.25 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.43/2.64, allocations: 0.7164 GB / 1.204 GB, free: 76.94 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/2.64, allocations: 82.91 kB / 1.204 GB, free: 76.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.982/5.622, allocations: 0.7975 GB / 2.001 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.861e-06/5.622, allocations: 0 / 2.001 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001909/5.622, allocations: 52.08 kB / 2.001 GB, free: 60.11 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.008773/5.631, allocations: 2.16 MB / 2.003 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/5.631, allocations: 10.62 kB / 2.003 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/5.634, allocations: 370.8 kB / 2.004 GB, free: 58.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/5.637, allocations: 1.081 MB / 2.005 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/5.637, allocations: 138.9 kB / 2.005 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/5.637, allocations: 171.9 kB / 2.005 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/5.641, allocations: 2.103 MB / 2.007 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/5.642, allocations: 3.188 kB / 2.007 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/5.642, allocations: 75.72 kB / 2.007 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/5.642, allocations: 37.69 kB / 2.007 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/5.645, allocations: 1.863 MB / 2.009 GB, free: 57.48 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.01227/5.658, allocations: 7.142 MB / 2.016 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/5.662, allocations: 1.731 MB / 2.018 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/5.662, allocations: 28.84 kB / 2.018 GB, free: 50.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.656e-05/5.662, allocations: 60.75 kB / 2.018 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=100): time 3.286e-06/5.662, allocations: 0 / 2.018 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100): time 0.01346/5.676, allocations: 3.971 MB / 2.022 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/5.676, allocations: 113.8 kB / 2.022 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/5.678, allocations: 1.641 MB / 2.023 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003574/5.679, allocations: 57.7 kB / 2.023 GB, free: 47.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/5.679, allocations: 0.8132 MB / 2.024 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/5.679, allocations: 342.4 kB / 2.025 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/5.679, allocations: 28 kB / 2.025 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/5.679, allocations: 357.9 kB / 2.025 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/5.681, allocations: 0.5894 MB / 2.026 GB, free: 45.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/5.682, allocations: 0.9926 MB / 2.027 GB, free: 44.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/5.683, allocations: 0.6767 MB / 2.027 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/5.683, allocations: 4 kB / 2.027 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004121/5.687, allocations: 2.126 MB / 2.029 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001035/5.688, allocations: 5.241 MB / 2.034 GB, free: 35.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/5.688, allocations: 12 kB / 2.034 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008037/5.696, allocations: 1.209 MB / 2.036 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/5.698, allocations: 339.5 kB / 2.036 GB, free: 34.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/5.702, allocations: 6.099 MB / 2.042 GB, free: 28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/5.705, allocations: 357.4 kB / 2.042 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/5.705, allocations: 79.95 kB / 2.042 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/5.705, allocations: 4 kB / 2.042 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003407/5.708, allocations: 1.726 MB / 2.044 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/5.708, allocations: 15.95 kB / 2.044 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/5.709, allocations: 173.6 kB / 2.044 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/5.711, allocations: 439.3 kB / 2.045 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/5.715, allocations: 7.567 MB / 2.052 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/5.718, allocations: 305.9 kB / 2.052 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/5.718, allocations: 75.97 kB / 2.052 GB, free: 16.84 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.001431/5.72, allocations: 483.2 kB / 2.053 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006395/5.72, allocations: 205.6 kB / 2.053 GB, free: 16.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/5.724, allocations: 1.78 MB / 2.055 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/5.724, allocations: 12 kB / 2.055 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/5.724, allocations: 3.953 kB / 2.055 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/5.724, allocations: 4.203 kB / 2.055 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007222/5.731, allocations: 3.57 MB / 2.058 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/5.731, allocations: 4 kB / 2.058 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/5.732, allocations: 200.1 kB / 2.058 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007314/5.74, allocations: 1.197 MB / 2.06 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/5.74, allocations: 35.97 kB / 2.06 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003556/5.743, allocations: 6.109 MB / 2.066 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/5.743, allocations: 11.89 kB / 2.066 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/5.747, allocations: 2.247 MB / 2.068 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009999/5.748, allocations: 322.4 kB / 2.068 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/5.749, allocations: 23.98 kB / 2.068 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/5.751, allocations: 187.8 kB / 2.068 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/5.751, allocations: 88.64 kB / 2.068 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003156/5.752, allocations: 83.91 kB / 2.068 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002197/5.754, allocations: 1.245 MB / 2.07 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/5.754, allocations: 0 / 2.07 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005991/5.76, allocations: 1.254 MB / 2.071 GB, free: 13.2 MB / 0.5417 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.003395/5.763, allocations: 1.462 MB / 2.072 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00742/5.771, allocations: 2.637 MB / 2.075 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/5.771, allocations: 5 kB / 2.075 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/5.773, allocations: 0.7299 MB / 2.076 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006155/5.779, allocations: 1.064 MB / 2.077 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/5.786, allocations: 3.554 MB / 2.08 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/5.787, allocations: 1.403 MB / 2.081 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002293/5.789, allocations: 371.9 kB / 2.082 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/5.79, allocations: 119.4 kB / 2.082 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of SimCode: time 1.553e-06/5.79, allocations: 4 kB / 2.082 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of Templates: time 0.3904/6.18, allocations: 63.53 MB / 2.144 GB, free: 71.86 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)