Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",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.0009336/0.0009336, 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.462/1.462, 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.0008505/0.0008505, allocations: 88.2 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4859/0.4859, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.894e-05, allocations: 0 / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 60.28 MB / 485.7 MB, free: 11.71 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.575/8.711, allocations: 2.993 GB / 3.467 GB, free: 14.11 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/8.712, allocations: 79.2 kB / 3.467 GB, free: 14.07 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.556/10.27, allocations: 362.6 MB / 3.821 GB, free: 51.07 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.395e-06/10.27, allocations: 0 / 3.821 GB, free: 51.07 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.273e-05/10.27, allocations: 14.44 kB / 3.821 GB, free: 51.07 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.006662/10.27, allocations: 1.173 MB / 3.822 GB, free: 50.34 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 7.444e-05/10.27, allocations: 7.938 kB / 3.822 GB, free: 50.34 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/10.28, allocations: 115.2 kB / 3.822 GB, free: 50.3 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/10.28, allocations: 409.8 kB / 3.823 GB, free: 50 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/10.28, allocations: 14.16 kB / 3.823 GB, free: 50 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/10.28, allocations: 25.47 kB / 3.823 GB, free: 50 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005618/10.28, allocations: 290.1 kB / 3.823 GB, free: 49.9 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/10.28, allocations: 452.9 kB / 3.824 GB, free: 49.62 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/10.28, allocations: 0 / 3.824 GB, free: 49.62 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/10.28, allocations: 3.953 kB / 3.824 GB, free: 49.61 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/10.28, allocations: 15.31 kB / 3.824 GB, free: 49.61 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.002633/10.28, allocations: 2.21 MB / 3.826 GB, free: 47.72 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/10.28, allocations: 420.8 kB / 3.826 GB, free: 47.41 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/10.28, allocations: 125.2 kB / 3.826 GB, free: 47.35 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05449/10.34, allocations: 31.98 MB / 3.857 GB, free: 24.05 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/10.34, allocations: 42.5 kB / 3.858 GB, free: 24 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/10.34, allocations: 3.938 kB / 3.858 GB, free: 24 MB / 0.5108 GB Notification: Performance of matching and sorting (n=31): time 0.005172/10.34, allocations: 1.419 MB / 3.859 GB, free: 22.52 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/10.34, allocations: 106.8 kB / 3.859 GB, free: 22.39 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/10.34, allocations: 246.3 kB / 3.859 GB, free: 22.14 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/10.34, allocations: 25.7 kB / 3.859 GB, free: 22.11 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/10.34, allocations: 248.2 kB / 3.86 GB, free: 21.86 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/10.34, allocations: 106.4 kB / 3.86 GB, free: 21.76 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/10.34, allocations: 0 / 3.86 GB, free: 21.76 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/10.34, allocations: 350.8 kB / 3.86 GB, free: 21.41 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/10.34, allocations: 140 kB / 3.86 GB, free: 21.27 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/10.34, allocations: 214.8 kB / 3.86 GB, free: 21.04 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/10.34, allocations: 189.3 kB / 3.86 GB, free: 20.85 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/10.34, allocations: 0 / 3.86 GB, free: 20.85 MB / 0.5108 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001919/10.34, allocations: 0.7174 MB / 3.861 GB, free: 20.12 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/10.34, allocations: 0.5294 MB / 3.862 GB, free: 19.55 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/10.34, allocations: 4 kB / 3.862 GB, free: 19.55 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/10.35, allocations: 465.9 kB / 3.862 GB, free: 19.09 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/10.35, allocations: 35.92 kB / 3.862 GB, free: 19.06 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/10.35, allocations: 1.08 MB / 3.863 GB, free: 17.95 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/10.35, allocations: 47.95 kB / 3.863 GB, free: 17.91 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/10.35, allocations: 36.03 kB / 3.863 GB, free: 17.87 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/10.35, allocations: 4 kB / 3.863 GB, free: 17.87 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001678/10.35, allocations: 0.5707 MB / 3.864 GB, free: 17.29 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/10.35, allocations: 4 kB / 3.864 GB, free: 17.29 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/10.35, allocations: 420.6 kB / 3.864 GB, free: 16.88 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/10.35, allocations: 47.92 kB / 3.864 GB, free: 16.83 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/10.35, allocations: 1.007 MB / 3.865 GB, free: 15.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/10.35, allocations: 59.83 kB / 3.865 GB, free: 15.74 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/10.35, allocations: 23.97 kB / 3.865 GB, free: 15.71 MB / 0.5108 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.000183/10.35, allocations: 122.3 kB / 3.865 GB, free: 15.59 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002269/10.36, allocations: 0.6863 MB / 3.866 GB, free: 14.89 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/10.36, allocations: 35.62 kB / 3.866 GB, free: 14.86 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/10.36, allocations: 3.302 MB / 3.869 GB, free: 11.54 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/10.36, allocations: 4 kB / 3.869 GB, free: 11.54 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/10.36, allocations: 96 / 3.869 GB, free: 11.54 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/10.36, allocations: 11.97 kB / 3.869 GB, free: 11.53 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 postOpt removeSimpleEquations (simulation): time 0.004416/10.36, allocations: 4.692 MB / 3.874 GB, free: 6.699 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/10.36, allocations: 0 / 3.874 GB, free: 6.699 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/10.37, allocations: 87.81 kB / 3.874 GB, free: 6.613 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/10.37, allocations: 1.457 MB / 3.876 GB, free: 5.152 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/10.37, allocations: 7.984 kB / 3.876 GB, free: 5.145 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/10.37, allocations: 2.772 MB / 3.878 GB, free: 2.215 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/10.37, allocations: 7.969 kB / 3.878 GB, free: 2.207 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4312/10.8, allocations: 4.306 MB / 3.882 GB, free: 64.34 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/10.8, allocations: 122.9 kB / 3.883 GB, free: 64.24 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/10.8, allocations: 1.719 kB / 3.883 GB, free: 64.24 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/10.8, allocations: 45.94 kB / 3.883 GB, free: 64.24 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/10.8, allocations: 22.39 kB / 3.883 GB, free: 64.24 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/10.8, allocations: 11.83 kB / 3.883 GB, free: 64.24 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0002755/10.8, allocations: 184.5 kB / 3.883 GB, free: 64.16 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2.4e-07/10.8, allocations: 0 / 3.883 GB, free: 64.16 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005566/10.81, allocations: 0.9595 MB / 3.884 GB, free: 64.16 MB / 0.5108 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.01109/10.82, allocations: 2.988 MB / 3.887 GB, free: 63.47 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002828/10.82, allocations: 0.7444 MB / 3.887 GB, free: 63.47 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/10.82, allocations: 0 / 3.887 GB, free: 63.47 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/10.82, allocations: 451 kB / 3.888 GB, free: 63.36 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/10.83, allocations: 181.6 kB / 3.888 GB, free: 63.36 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/10.83, allocations: 1.299 MB / 3.889 GB, free: 63.11 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/10.83, allocations: 0.8633 MB / 3.89 GB, free: 62.41 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004574/10.83, allocations: 113.3 kB / 3.89 GB, free: 62.41 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/10.83, allocations: 179 kB / 3.89 GB, free: 62.41 MB / 0.5108 GB Notification: Performance of SimCode: time 1.483e-06/10.83, allocations: 0 / 3.89 GB, free: 62.41 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08524/10.92, allocations: 37.11 MB / 3.927 GB, free: 61.68 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/10.92, allocations: 153.7 kB / 3.927 GB, free: 61.49 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/14.09, allocations: 0 / 3.927 GB, free: 61.49 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1)