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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0008523/0.0008522, allocations: 80.11 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.4956/0.4956, allocations: 48.78 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.988e-05, allocations: 7.938 kB / 425.4 MB, free: 8.125 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 60.26 MB / 485.6 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.244/8.369, allocations: 2.993 GB / 3.467 GB, free: 13.8 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/8.37, allocations: 80.48 kB / 3.467 GB, free: 13.77 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.195/10.56, allocations: 453.2 MB / 3.91 GB, free: 47.8 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.503e-06/10.56, allocations: 0 / 3.91 GB, free: 47.8 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.933e-05/10.56, allocations: 18.19 kB / 3.91 GB, free: 47.8 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.005388/10.57, allocations: 1.244 MB / 3.911 GB, free: 47.34 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/10.57, allocations: 9.75 kB / 3.911 GB, free: 47.34 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000516/10.57, allocations: 120.6 kB / 3.911 GB, free: 47.31 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008084/10.57, allocations: 472.4 kB / 3.911 GB, free: 47.08 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/10.57, allocations: 16.41 kB / 3.911 GB, free: 47.08 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/10.57, allocations: 26.75 kB / 3.911 GB, free: 47.08 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005763/10.57, allocations: 318.7 kB / 3.912 GB, free: 47.08 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/10.57, allocations: 0.5344 MB / 3.912 GB, free: 46.83 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/10.57, allocations: 3.375 kB / 3.912 GB, free: 46.83 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/10.57, allocations: 7.422 kB / 3.912 GB, free: 46.83 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/10.57, allocations: 12.47 kB / 3.912 GB, free: 46.83 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.002707/10.58, allocations: 2.519 MB / 3.915 GB, free: 44.98 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/10.58, allocations: 429.4 kB / 3.915 GB, free: 44.77 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/10.58, allocations: 116.2 kB / 3.915 GB, free: 44.77 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06577/10.64, allocations: 31.98 MB / 3.947 GB, free: 41.41 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/10.64, allocations: 36.34 kB / 3.947 GB, free: 41.37 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=28): time 3.627e-06/10.64, allocations: 0.9375 kB / 3.947 GB, free: 41.37 MB / 0.5265 GB Notification: Performance of matching and sorting (n=31): time 0.0061/10.65, allocations: 1.443 MB / 3.948 GB, free: 41 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/10.65, allocations: 105.6 kB / 3.948 GB, free: 40.88 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/10.65, allocations: 279.8 kB / 3.948 GB, free: 40.77 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/10.65, allocations: 26.67 kB / 3.948 GB, free: 40.74 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/10.65, allocations: 291.7 kB / 3.949 GB, free: 40.61 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/10.65, allocations: 113.4 kB / 3.949 GB, free: 40.54 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/10.65, allocations: 0 / 3.949 GB, free: 40.54 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001444/10.65, allocations: 350.1 kB / 3.949 GB, free: 40.22 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/10.65, allocations: 147.3 kB / 3.949 GB, free: 40.22 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/10.65, allocations: 208 kB / 3.949 GB, free: 40.16 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/10.65, allocations: 185.8 kB / 3.95 GB, free: 40.15 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/10.65, allocations: 0 / 3.95 GB, free: 40.15 MB / 0.5265 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002025/10.65, allocations: 0.7202 MB / 3.95 GB, free: 40.07 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002193/10.65, allocations: 0.5297 MB / 3.951 GB, free: 39.52 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/10.65, allocations: 3.375 kB / 3.951 GB, free: 39.52 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/10.65, allocations: 461.6 kB / 3.951 GB, free: 39.51 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/10.66, allocations: 35.27 kB / 3.951 GB, free: 39.51 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/10.66, allocations: 1.586 MB / 3.953 GB, free: 38.46 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/10.66, allocations: 45.09 kB / 3.953 GB, free: 38.46 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/10.66, allocations: 27.53 kB / 3.953 GB, free: 38.46 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/10.66, allocations: 6.344 kB / 3.953 GB, free: 38.46 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001675/10.66, allocations: 0.5812 MB / 3.953 GB, free: 38.43 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/10.66, allocations: 0 / 3.953 GB, free: 38.43 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/10.66, allocations: 423.8 kB / 3.954 GB, free: 38.41 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/10.66, allocations: 38.98 kB / 3.954 GB, free: 38.41 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/10.66, allocations: 1.501 MB / 3.955 GB, free: 37.37 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/10.66, allocations: 57.31 kB / 3.955 GB, free: 37.36 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/10.66, allocations: 24.64 kB / 3.955 GB, free: 37.36 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.000207/10.66, allocations: 105.7 kB / 3.956 GB, free: 37.25 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002498/10.67, allocations: 0.7023 MB / 3.956 GB, free: 37.16 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.084e-05/10.67, allocations: 41.16 kB / 3.956 GB, free: 37.14 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/10.67, allocations: 3.304 MB / 3.96 GB, free: 37.03 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/10.67, allocations: 10.38 kB / 3.96 GB, free: 37.03 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/10.67, allocations: 0 / 3.96 GB, free: 37.03 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/10.67, allocations: 4.797 kB / 3.96 GB, free: 37.02 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.005509/10.68, allocations: 4.738 MB / 3.964 GB, free: 36.2 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/10.68, allocations: 0 / 3.964 GB, free: 36.2 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/10.68, allocations: 48.88 kB / 3.964 GB, free: 36.2 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/10.68, allocations: 1.491 MB / 3.966 GB, free: 36.16 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/10.68, allocations: 6.172 kB / 3.966 GB, free: 36.16 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/10.68, allocations: 2.734 MB / 3.968 GB, free: 33.85 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/10.68, allocations: 3.953 kB / 3.968 GB, free: 33.84 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0053/10.69, allocations: 4.326 MB / 3.973 GB, free: 33.64 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/10.69, allocations: 124.5 kB / 3.973 GB, free: 33.52 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/10.69, allocations: 11.23 kB / 3.973 GB, free: 33.51 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/10.69, allocations: 46.44 kB / 3.973 GB, free: 33.5 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/10.69, allocations: 24.48 kB / 3.973 GB, free: 33.5 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/10.69, allocations: 15.02 kB / 3.973 GB, free: 33.5 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0003477/10.69, allocations: 215 kB / 3.973 GB, free: 33.41 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.3e-07/10.69, allocations: 0 / 3.973 GB, free: 33.41 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007113/10.7, allocations: 0.9867 MB / 3.974 GB, free: 33.29 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.0114/10.71, allocations: 3.179 MB / 3.977 GB, free: 32.3 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002536/10.71, allocations: 0.7461 MB / 3.978 GB, free: 32.29 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/10.71, allocations: 0 / 3.978 GB, free: 32.29 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/10.71, allocations: 441.3 kB / 3.978 GB, free: 32.17 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/10.71, allocations: 212.3 kB / 3.978 GB, free: 32.16 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005305/10.72, allocations: 1.375 MB / 3.98 GB, free: 31.59 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/10.72, allocations: 0.9011 MB / 3.981 GB, free: 30.88 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.0005329/10.72, allocations: 118 kB / 3.981 GB, free: 30.87 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/10.72, allocations: 211.7 kB / 3.981 GB, free: 30.86 MB / 0.5265 GB Notification: Performance of SimCode: time 1.653e-06/10.72, allocations: 0 / 3.981 GB, free: 30.86 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08351/10.8, allocations: 39.8 MB / 4.02 GB, free: 28.62 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/10.8, allocations: 124.1 kB / 4.02 GB, free: 28.43 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.409/14.21, allocations: 0 / 4.02 GB, free: 28.43 MB / 0.5265 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixer.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)