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.001114/0.001114, allocations: 176.4 kB / 8.346 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.459/1.459, 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.0008239/0.000824, allocations: 87.97 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.484/0.484, 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 2.349e-05/2.353e-05, allocations: 8.156 kB / 425.4 MB, free: 8.152 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 60.27 MB / 485.7 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.45/8.578, allocations: 2.993 GB / 3.467 GB, free: 76.48 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/8.578, allocations: 79.25 kB / 3.467 GB, free: 76.41 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.653/10.23, allocations: 362.5 MB / 3.821 GB, free: 60.1 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.505e-06/10.23, allocations: 0 / 3.821 GB, free: 60.1 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.261e-05/10.23, allocations: 17.23 kB / 3.821 GB, free: 60.1 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.005915/10.24, allocations: 1.171 MB / 3.822 GB, free: 59.5 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/10.24, allocations: 10.84 kB / 3.822 GB, free: 59.5 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005281/10.24, allocations: 112.2 kB / 3.822 GB, free: 59.47 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/10.24, allocations: 416.1 kB / 3.823 GB, free: 59.23 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/10.24, allocations: 14.19 kB / 3.823 GB, free: 59.23 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/10.24, allocations: 24.06 kB / 3.823 GB, free: 59.23 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005523/10.24, allocations: 294.3 kB / 3.823 GB, free: 59.23 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/10.24, allocations: 451.1 kB / 3.823 GB, free: 59.04 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/10.24, allocations: 3.938 kB / 3.823 GB, free: 59.04 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/10.24, allocations: 7.844 kB / 3.823 GB, free: 59.04 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/10.24, allocations: 14.06 kB / 3.823 GB, free: 59.04 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.002254/10.24, allocations: 2.407 MB / 3.826 GB, free: 57.12 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/10.24, allocations: 414.8 kB / 3.826 GB, free: 56.91 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/10.24, allocations: 117 kB / 3.826 GB, free: 56.9 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05973/10.3, allocations: 31.98 MB / 3.858 GB, free: 37.53 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/10.3, allocations: 45.25 kB / 3.858 GB, free: 37.49 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/10.3, allocations: 0 / 3.858 GB, free: 37.49 MB / 0.5108 GB Notification: Performance of matching and sorting (n=31): time 0.005372/10.31, allocations: 1.42 MB / 3.859 GB, free: 37.08 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/10.31, allocations: 114.5 kB / 3.859 GB, free: 36.95 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/10.31, allocations: 249.8 kB / 3.859 GB, free: 36.79 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/10.31, allocations: 25.7 kB / 3.859 GB, free: 36.76 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/10.31, allocations: 242.8 kB / 3.86 GB, free: 36.56 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/10.31, allocations: 103.5 kB / 3.86 GB, free: 36.48 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/10.31, allocations: 0 / 3.86 GB, free: 36.48 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/10.31, allocations: 349.7 kB / 3.86 GB, free: 36.15 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/10.31, allocations: 145 kB / 3.86 GB, free: 36.09 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/10.31, allocations: 205.4 kB / 3.86 GB, free: 35.96 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/10.31, allocations: 191 kB / 3.861 GB, free: 35.9 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/10.31, allocations: 6.766 kB / 3.861 GB, free: 35.9 MB / 0.5108 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001904/10.31, allocations: 0.7217 MB / 3.861 GB, free: 35.63 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/10.31, allocations: 0.5242 MB / 3.862 GB, free: 35.08 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/10.31, allocations: 0 / 3.862 GB, free: 35.08 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/10.31, allocations: 462.2 kB / 3.862 GB, free: 34.98 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/10.31, allocations: 44.92 kB / 3.862 GB, free: 34.97 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/10.32, allocations: 1.078 MB / 3.863 GB, free: 34.24 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/10.32, allocations: 48.3 kB / 3.863 GB, free: 34.23 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/10.32, allocations: 24.16 kB / 3.863 GB, free: 34.23 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/10.32, allocations: 3.844 kB / 3.863 GB, free: 34.23 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001694/10.32, allocations: 0.5916 MB / 3.864 GB, free: 34.04 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/10.32, allocations: 1.781 kB / 3.864 GB, free: 34.04 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/10.32, allocations: 417.6 kB / 3.864 GB, free: 33.94 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/10.32, allocations: 46.34 kB / 3.864 GB, free: 33.93 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/10.32, allocations: 1.008 MB / 3.865 GB, free: 33.23 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/10.32, allocations: 48.77 kB / 3.865 GB, free: 33.22 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/10.32, allocations: 31.3 kB / 3.865 GB, free: 33.21 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.0001648/10.32, allocations: 121.7 kB / 3.866 GB, free: 33.09 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00232/10.32, allocations: 0.6841 MB / 3.866 GB, free: 32.87 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/10.32, allocations: 35.28 kB / 3.866 GB, free: 32.86 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/10.33, allocations: 3.3 MB / 3.87 GB, free: 31.5 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/10.33, allocations: 10.55 kB / 3.87 GB, free: 31.5 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/10.33, allocations: 0 / 3.87 GB, free: 31.5 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/10.33, allocations: 3.938 kB / 3.87 GB, free: 31.49 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.004849/10.33, allocations: 4.69 MB / 3.874 GB, free: 29.08 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/10.33, allocations: 0 / 3.874 GB, free: 29.08 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/10.33, allocations: 77.81 kB / 3.874 GB, free: 29.08 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002441/10.34, allocations: 1.465 MB / 3.876 GB, free: 28.59 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/10.34, allocations: 14.86 kB / 3.876 GB, free: 28.58 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/10.34, allocations: 2.784 MB / 3.878 GB, free: 25.99 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/10.34, allocations: 0 / 3.878 GB, free: 25.99 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/10.34, allocations: 4.305 MB / 3.883 GB, free: 24.17 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/10.34, allocations: 123.9 kB / 3.883 GB, free: 24.05 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/10.34, allocations: 0 / 3.883 GB, free: 24.05 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/10.34, allocations: 50.75 kB / 3.883 GB, free: 24.04 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/10.34, allocations: 27.33 kB / 3.883 GB, free: 24.03 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/10.34, allocations: 7.938 kB / 3.883 GB, free: 24.03 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001945/10.34, allocations: 190.2 kB / 3.883 GB, free: 23.91 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.5e-07/10.34, allocations: 0 / 3.883 GB, free: 23.91 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005022/10.35, allocations: 0.9497 MB / 3.884 GB, free: 23.75 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.008808/10.36, allocations: 2.998 MB / 3.887 GB, free: 22.41 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002244/10.36, allocations: 0.7496 MB / 3.888 GB, free: 22.13 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/10.36, allocations: 0 / 3.888 GB, free: 22.13 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/10.36, allocations: 449.8 kB / 3.888 GB, free: 21.89 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/10.36, allocations: 177.8 kB / 3.888 GB, free: 21.85 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/10.37, allocations: 1.304 MB / 3.889 GB, free: 21.18 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/10.37, allocations: 0.8615 MB / 3.89 GB, free: 20.47 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004579/10.37, allocations: 119.1 kB / 3.89 GB, free: 20.45 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/10.37, allocations: 180.6 kB / 3.891 GB, free: 20.31 MB / 0.5108 GB Notification: Performance of SimCode: time 1.543e-06/10.37, allocations: 0 / 3.891 GB, free: 20.31 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07368/10.44, allocations: 37.07 MB / 3.927 GB, free: 7.207 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/10.44, allocations: 141.3 kB / 3.927 GB, free: 7.012 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/13.66, allocations: 0 / 3.927 GB, free: 7.012 MB / 0.5108 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)