Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, 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 1.786/1.786, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.00125/0.00125, allocations: 93.28 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5781/0.5781, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003292, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 60.27 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.913/9.065, allocations: 2.866 GB / 3.353 GB, free: 89.28 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/9.065, allocations: 82.09 kB / 3.353 GB, free: 89.24 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.001/11.07, allocations: 433.4 MB / 3.776 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.458e-06/11.07, allocations: 0 / 3.776 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001627/11.07, allocations: 29.62 kB / 3.776 GB, free: 40.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.01216/11.08, allocations: 1.544 MB / 3.778 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.797e-05/11.08, allocations: 12.66 kB / 3.778 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/11.08, allocations: 133.5 kB / 3.778 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/11.08, allocations: 0.5965 MB / 3.779 GB, free: 39.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/11.08, allocations: 36.56 kB / 3.779 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/11.08, allocations: 51.73 kB / 3.779 GB, free: 39.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/11.09, allocations: 0.9868 MB / 3.78 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/11.09, allocations: 0 / 3.78 GB, free: 38.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/11.09, allocations: 27.36 kB / 3.78 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/11.09, allocations: 14.88 kB / 3.78 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/11.09, allocations: 0.8916 MB / 3.781 GB, free: 38.54 MB / 0.5105 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.005027/11.09, allocations: 3.214 MB / 3.784 GB, free: 35.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/11.09, allocations: 429.1 kB / 3.784 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06958/11.16, allocations: 31.87 MB / 3.815 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/11.16, allocations: 34.47 kB / 3.815 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001336/11.17, allocations: 138.3 kB / 3.815 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 7.634e-06/11.17, allocations: 0 / 3.815 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.009557/11.17, allocations: 1.771 MB / 3.817 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/11.17, allocations: 55.03 kB / 3.817 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/11.18, allocations: 0.5406 MB / 3.818 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/11.18, allocations: 32.95 kB / 3.818 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/11.18, allocations: 337.3 kB / 3.818 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/11.18, allocations: 112.2 kB / 3.818 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/11.18, allocations: 4 kB / 3.818 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001327/11.18, allocations: 321.6 kB / 3.819 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/11.18, allocations: 159.4 kB / 3.819 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/11.18, allocations: 204.5 kB / 3.819 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/11.18, allocations: 177.1 kB / 3.819 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/11.18, allocations: 0 / 3.819 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001488/11.18, allocations: 0.6295 MB / 3.82 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/11.18, allocations: 0.5255 MB / 3.82 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/11.18, allocations: 3.938 kB / 3.82 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007304/11.19, allocations: 1.049 MB / 3.821 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/11.19, allocations: 51.66 kB / 3.821 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/11.19, allocations: 0.9304 MB / 3.822 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/11.19, allocations: 58.56 kB / 3.822 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/11.19, allocations: 23.05 kB / 3.822 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/11.19, allocations: 3.844 kB / 3.822 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/11.19, allocations: 459.8 kB / 3.823 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/11.19, allocations: 4 kB / 3.823 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/11.19, allocations: 84.78 kB / 3.823 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/11.19, allocations: 99.86 kB / 3.823 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/11.19, allocations: 1.472 MB / 3.824 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/11.19, allocations: 55.91 kB / 3.824 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/11.19, allocations: 19.94 kB / 3.824 GB, free: 6.387 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 17} Notification: Performance of prepare postOptimizeDAE: time 0.000463/11.2, allocations: 249.1 kB / 3.825 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/11.2, allocations: 79.05 kB / 3.825 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/11.2, allocations: 2.136 MB / 3.827 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/11.2, allocations: 23.97 kB / 3.827 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/11.2, allocations: 0 / 3.827 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/11.2, allocations: 8 kB / 3.827 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/11.2, allocations: 0.9367 MB / 3.828 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/11.2, allocations: 4 kB / 3.828 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/11.2, allocations: 47.8 kB / 3.828 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00487/11.2, allocations: 2.697 MB / 3.83 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/11.2, allocations: 15.98 kB / 3.83 GB, free: 124 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/11.21, allocations: 2.037 MB / 3.832 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/11.21, allocations: 0 / 3.832 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/11.21, allocations: 1.872 MB / 3.834 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/11.21, allocations: 175.6 kB / 3.834 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/11.21, allocations: 12 kB / 3.834 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/11.21, allocations: 59.8 kB / 3.834 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/11.21, allocations: 32.34 kB / 3.835 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/11.21, allocations: 19.98 kB / 3.835 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007341/11.21, allocations: 435 kB / 3.835 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/11.21, allocations: 3.938 kB / 3.835 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006443/11.22, allocations: 1.146 MB / 3.836 GB, free: 10.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.009801/11.23, allocations: 1.515 MB / 3.838 GB, free: 9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003212/11.23, allocations: 0.935 MB / 3.838 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/11.23, allocations: 0 / 3.838 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/11.23, allocations: 499.8 kB / 3.839 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/11.24, allocations: 420.2 kB / 3.839 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/11.24, allocations: 1.906 MB / 3.841 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008464/11.24, allocations: 1.007 MB / 3.842 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009169/11.24, allocations: 275.7 kB / 3.842 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/11.24, allocations: 39.44 kB / 3.842 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of SimCode: time 1.523e-06/11.24, allocations: 4 kB / 3.842 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of Templates: time 0.4803/11.72, allocations: 41.73 MB / 3.883 GB, free: 66.43 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1)