Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 175.9 kB / 8.344 MB, free: 0.7109 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.261/2.261, allocations: 205.3 MB / 214.1 MB, free: 14.07 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.001136/0.001136, allocations: 91.86 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6851/0.6851, allocations: 48.76 MB / 358.8 MB, free: 53.13 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.796e-05, allocations: 4 kB / 425.3 MB, free: 8.234 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1874, allocations: 60.26 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.926/10.11, allocations: 2.993 GB / 3.467 GB, free: 14.88 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000409/10.11, allocations: 78.03 kB / 3.467 GB, free: 14.84 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.319/12.43, allocations: 453.2 MB / 3.91 GB, free: 47.9 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.895e-06/12.43, allocations: 0 / 3.91 GB, free: 47.9 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001298/12.43, allocations: 24.38 kB / 3.91 GB, free: 47.9 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.007736/12.44, allocations: 1.228 MB / 3.911 GB, free: 47.44 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/12.44, allocations: 9.562 kB / 3.911 GB, free: 47.44 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008143/12.44, allocations: 126 kB / 3.911 GB, free: 47.41 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/12.44, allocations: 471.8 kB / 3.911 GB, free: 47.18 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/12.44, allocations: 16.78 kB / 3.911 GB, free: 47.18 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/12.44, allocations: 27.25 kB / 3.911 GB, free: 47.18 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006995/12.44, allocations: 321.1 kB / 3.912 GB, free: 47.18 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/12.44, allocations: 0.5329 MB / 3.912 GB, free: 46.94 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/12.44, allocations: 3.406 kB / 3.912 GB, free: 46.94 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/12.44, allocations: 3.953 kB / 3.912 GB, free: 46.93 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/12.44, allocations: 13.09 kB / 3.912 GB, free: 46.93 MB / 0.5108 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.003059/12.45, allocations: 2.526 MB / 3.915 GB, free: 45.09 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/12.45, allocations: 430.3 kB / 3.915 GB, free: 44.88 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/12.45, allocations: 112 kB / 3.915 GB, free: 44.87 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07162/12.52, allocations: 31.98 MB / 3.946 GB, free: 41.51 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.52e-05/12.52, allocations: 33.53 kB / 3.946 GB, free: 41.47 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=28): time 5.079e-06/12.52, allocations: 0 / 3.946 GB, free: 41.47 MB / 0.5265 GB Notification: Performance of matching and sorting (n=31): time 0.007993/12.53, allocations: 1.447 MB / 3.948 GB, free: 41.11 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/12.53, allocations: 107.2 kB / 3.948 GB, free: 40.98 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/12.53, allocations: 274.4 kB / 3.948 GB, free: 40.88 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 8.842e-05/12.53, allocations: 25.7 kB / 3.948 GB, free: 40.84 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/12.53, allocations: 291.9 kB / 3.949 GB, free: 40.71 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/12.53, allocations: 101.1 kB / 3.949 GB, free: 40.64 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/12.53, allocations: 3.406 kB / 3.949 GB, free: 40.64 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0003085/12.53, allocations: 353.3 kB / 3.949 GB, free: 40.33 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/12.53, allocations: 144 kB / 3.949 GB, free: 40.33 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/12.53, allocations: 200.6 kB / 3.949 GB, free: 40.27 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009275/12.53, allocations: 194.8 kB / 3.949 GB, free: 40.26 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/12.53, allocations: 1 kB / 3.949 GB, free: 40.26 MB / 0.5265 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002763/12.54, allocations: 0.7186 MB / 3.95 GB, free: 40.18 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004056/12.54, allocations: 0.529 MB / 3.951 GB, free: 39.63 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/12.54, allocations: 1.594 kB / 3.951 GB, free: 39.63 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/12.54, allocations: 467.9 kB / 3.951 GB, free: 39.62 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/12.54, allocations: 36.97 kB / 3.951 GB, free: 39.62 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/12.54, allocations: 1.576 MB / 3.953 GB, free: 38.57 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/12.54, allocations: 55.22 kB / 3.953 GB, free: 38.56 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/12.54, allocations: 20.03 kB / 3.953 GB, free: 38.56 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/12.54, allocations: 3.719 kB / 3.953 GB, free: 38.56 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001852/12.54, allocations: 0.5887 MB / 3.953 GB, free: 38.54 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/12.54, allocations: 0 / 3.953 GB, free: 38.54 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/12.54, allocations: 424.4 kB / 3.954 GB, free: 38.52 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/12.54, allocations: 44.94 kB / 3.954 GB, free: 38.52 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/12.55, allocations: 1.498 MB / 3.955 GB, free: 37.48 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/12.55, allocations: 49.8 kB / 3.955 GB, free: 37.47 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/12.55, allocations: 23.98 kB / 3.955 GB, free: 37.47 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002695/12.55, allocations: 121 kB / 3.955 GB, free: 37.36 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/12.55, allocations: 42.33 kB / 3.956 GB, free: 37.34 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005118/12.55, allocations: 3.307 MB / 3.959 GB, free: 37.23 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/12.55, allocations: 11.39 kB / 3.959 GB, free: 37.23 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/12.55, allocations: 0 / 3.959 GB, free: 37.23 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/12.55, allocations: 0 / 3.959 GB, free: 37.23 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 postOpt removeSimpleEquations (simulation): time 0.006985/12.56, allocations: 4.734 MB / 3.963 GB, free: 36.41 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/12.56, allocations: 0 / 3.963 GB, free: 36.41 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/12.56, allocations: 54.42 kB / 3.963 GB, free: 36.41 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/12.56, allocations: 1.486 MB / 3.965 GB, free: 36.38 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/12.56, allocations: 7.328 kB / 3.965 GB, free: 36.38 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004206/12.57, allocations: 2.737 MB / 3.968 GB, free: 34.07 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/12.57, allocations: 0 / 3.968 GB, free: 34.07 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005971/12.57, allocations: 4.33 MB / 3.972 GB, free: 33.86 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/12.57, allocations: 119 kB / 3.972 GB, free: 33.74 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/12.58, allocations: 0 / 3.972 GB, free: 33.74 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/12.58, allocations: 54.08 kB / 3.972 GB, free: 33.73 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/12.58, allocations: 26.94 kB / 3.972 GB, free: 33.73 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/12.58, allocations: 10.12 kB / 3.972 GB, free: 33.73 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0003905/12.58, allocations: 219.5 kB / 3.972 GB, free: 33.64 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.71e-07/12.58, allocations: 0 / 3.972 GB, free: 33.64 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007977/12.58, allocations: 0.9914 MB / 3.973 GB, free: 33.52 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/12.6, allocations: 1.69 MB / 3.975 GB, free: 33.19 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.003318/12.6, allocations: 0.7638 MB / 3.976 GB, free: 33.17 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/12.6, allocations: 0 / 3.976 GB, free: 33.17 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/12.6, allocations: 443.4 kB / 3.976 GB, free: 33.05 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/12.6, allocations: 209.7 kB / 3.976 GB, free: 33.04 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/12.61, allocations: 0.9913 MB / 3.977 GB, free: 32.63 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008379/12.61, allocations: 0.8959 MB / 3.978 GB, free: 31.92 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.0006674/12.61, allocations: 122.4 kB / 3.978 GB, free: 31.91 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/12.61, allocations: 30.31 kB / 3.978 GB, free: 31.9 MB / 0.5265 GB Notification: Performance of SimCode: time 1.152e-06/12.61, allocations: 0 / 3.978 GB, free: 31.9 MB / 0.5265 GB Notification: Performance of Templates: time 0.05368/12.66, allocations: 33.31 MB / 4.011 GB, free: 29.86 MB / 0.5265 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)