Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.TestMixerSlowFast,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFast,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast",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.001155/0.001155, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.546/1.546, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008606/0.0008606, allocations: 86.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2712/0.2712, allocations: 48.79 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.846e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 60.24 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.786/8.892, allocations: 2.993 GB / 3.475 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/8.892, allocations: 84.58 kB / 3.475 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.66/10.55, allocations: 365.6 MB / 3.832 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.257e-06/10.55, allocations: 4.344 kB / 3.832 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.699e-05/10.55, allocations: 17.73 kB / 3.832 GB, free: 67.81 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.006318/10.56, allocations: 1.172 MB / 3.833 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.404e-05/10.56, allocations: 10.28 kB / 3.833 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/10.56, allocations: 80.77 kB / 3.833 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005278/10.56, allocations: 109.8 kB / 3.833 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/10.56, allocations: 412.7 kB / 3.833 GB, free: 67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/10.56, allocations: 29.56 kB / 3.834 GB, free: 67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.612e-05/10.56, allocations: 47.61 kB / 3.834 GB, free: 67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/10.56, allocations: 0.6695 MB / 3.834 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/10.56, allocations: 1.969 kB / 3.834 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/10.56, allocations: 21.92 kB / 3.834 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/10.56, allocations: 13.84 kB / 3.834 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/10.56, allocations: 483.6 kB / 3.835 GB, free: 66.82 MB / 0.5105 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.003411/10.57, allocations: 2.513 MB / 3.837 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/10.57, allocations: 0.5589 MB / 3.838 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/10.57, allocations: 125 kB / 3.838 GB, free: 64.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06102/10.63, allocations: 31.99 MB / 3.869 GB, free: 45.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/10.63, allocations: 38 kB / 3.869 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.284e-06/10.63, allocations: 0 / 3.869 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.005878/10.64, allocations: 1.53 MB / 3.871 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/10.64, allocations: 110.7 kB / 3.871 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/10.64, allocations: 303.8 kB / 3.871 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/10.64, allocations: 35.17 kB / 3.871 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/10.64, allocations: 236.6 kB / 3.871 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/10.64, allocations: 115.7 kB / 3.871 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/10.64, allocations: 3.938 kB / 3.871 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001113/10.64, allocations: 355.1 kB / 3.872 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/10.64, allocations: 144.6 kB / 3.872 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/10.64, allocations: 209.1 kB / 3.872 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/10.64, allocations: 164.1 kB / 3.872 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/10.64, allocations: 0 / 3.872 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001602/10.64, allocations: 0.7071 MB / 3.873 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/10.64, allocations: 0.5317 MB / 3.873 GB, free: 43.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/10.64, allocations: 0.5625 kB / 3.873 GB, free: 43.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/10.64, allocations: 499.8 kB / 3.874 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/10.64, allocations: 43.41 kB / 3.874 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/10.64, allocations: 0.9809 MB / 3.875 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/10.64, allocations: 57.5 kB / 3.875 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/10.64, allocations: 23.62 kB / 3.875 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/10.64, allocations: 9.281 kB / 3.875 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/10.64, allocations: 0.5887 MB / 3.876 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/10.64, allocations: 3.875 kB / 3.876 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/10.65, allocations: 442.7 kB / 3.876 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/10.65, allocations: 49.31 kB / 3.876 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/10.65, allocations: 0.934 MB / 3.877 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/10.65, allocations: 53.59 kB / 3.877 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/10.65, allocations: 36.09 kB / 3.877 GB, free: 42.38 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: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.000166/10.65, allocations: 120.9 kB / 3.877 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/10.65, allocations: 44.88 kB / 3.877 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/10.65, allocations: 3.324 MB / 3.88 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/10.65, allocations: 11.25 kB / 3.88 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/10.65, allocations: 0 / 3.88 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/10.65, allocations: 3.844 kB / 3.88 GB, free: 42.14 MB / 0.5105 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.005261/10.66, allocations: 4.776 MB / 3.885 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/10.66, allocations: 0 / 3.885 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/10.66, allocations: 75.91 kB / 3.885 GB, free: 41.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/10.66, allocations: 1.478 MB / 3.887 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/10.66, allocations: 11.67 kB / 3.887 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/10.66, allocations: 2.784 MB / 3.889 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/10.66, allocations: 0 / 3.889 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/10.67, allocations: 4.338 MB / 3.894 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/10.67, allocations: 126.5 kB / 3.894 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/10.67, allocations: 7.812 kB / 3.894 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/10.67, allocations: 49.7 kB / 3.894 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/10.67, allocations: 28.78 kB / 3.894 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/10.67, allocations: 10.31 kB / 3.894 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002788/10.67, allocations: 244.9 kB / 3.894 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/10.67, allocations: 0 / 3.894 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005785/10.68, allocations: 1.003 MB / 3.895 GB, free: 38.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008873/10.68, allocations: 2.877 MB / 3.898 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002496/10.69, allocations: 0.7803 MB / 3.899 GB, free: 37.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/10.69, allocations: 0 / 3.899 GB, free: 37.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/10.69, allocations: 467.8 kB / 3.899 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/10.69, allocations: 230 kB / 3.899 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/10.7, allocations: 1.334 MB / 3.901 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/10.7, allocations: 0.8742 MB / 3.901 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004322/10.7, allocations: 121 kB / 3.902 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/10.7, allocations: 187.9 kB / 3.902 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.243e-06/10.7, allocations: 0 / 3.902 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08563/10.78, allocations: 47 MB / 3.948 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/10.78, allocations: 190.7 kB / 3.948 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/14.25, allocations: 3.938 kB / 3.948 GB, free: 33.64 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1)