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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.0008311, allocations: 92.22 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 185 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2766/0.2766, allocations: 48.79 MB / 320.8 MB, free: 11.11 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005685/0.0005684, allocations: 18.44 kB / 391.8 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1114, allocations: 60.26 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.05869/0.1701, allocations: 56.02 MB / 0.4962 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.1851, allocations: 11.33 MB / 0.5073 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007601/0.1859, allocations: 11.94 kB / 0.5073 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1869, allocations: 230.7 kB / 0.5075 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009525/0.1879, allocations: 330 kB / 0.5078 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01663/0.2045, allocations: 4.034 MB / 0.5117 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.2063, allocations: 1.328 MB / 0.513 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004547/0.2067, allocations: 271.9 kB / 0.5133 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.2078, allocations: 314.7 kB / 0.5136 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.2084, allocations: 354.4 kB / 0.5139 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.2084, allocations: 24 kB / 0.514 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.2203, allocations: 6.263 MB / 0.5201 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.2204, allocations: 83.55 kB / 0.5202 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.2209, allocations: 292.4 kB / 0.5204 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008548/0.2294, allocations: 3.886 MB / 0.5242 GB, free: 4.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2295, allocations: 0 / 0.5242 GB, free: 4.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2295, allocations: 0 / 0.5242 GB, free: 4.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2295, allocations: 0 / 0.5242 GB, free: 4.176 MB / 414.1 MB 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.00294/0.2324, allocations: 1.169 MB / 0.5254 GB, free: 2.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2325, allocations: 8.031 kB / 0.5254 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.2329, allocations: 112.2 kB / 0.5255 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.2334, allocations: 359.8 kB / 0.5258 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.2334, allocations: 29.38 kB / 0.5259 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.2335, allocations: 55.97 kB / 0.5259 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.235, allocations: 0.6202 MB / 0.5265 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2351, allocations: 3.938 kB / 0.5265 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.2351, allocations: 16 kB / 0.5265 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2351, allocations: 16 kB / 0.5265 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.2365, allocations: 0.4996 MB / 0.527 GB, free: 1.18 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.2031/0.4397, allocations: 2.513 MB / 0.5295 GB, free: 85.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.4411, allocations: 0.558 MB / 0.53 GB, free: 85.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.4413, allocations: 139.2 kB / 0.5302 GB, free: 85.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06265/0.504, allocations: 32.29 MB / 0.5617 GB, free: 62.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5041, allocations: 34.38 kB / 0.5617 GB, free: 62.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.5041, allocations: 3.656 kB / 0.5617 GB, free: 62.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.005649/0.5097, allocations: 1.779 MB / 0.5635 GB, free: 61.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.5098, allocations: 106.8 kB / 0.5636 GB, free: 61.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.5101, allocations: 355.3 kB / 0.5639 GB, free: 61.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.5102, allocations: 29.7 kB / 0.5639 GB, free: 61.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.5103, allocations: 242 kB / 0.5642 GB, free: 61.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.5104, allocations: 118 kB / 0.5643 GB, free: 61.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.5105, allocations: 37.14 kB / 0.5643 GB, free: 61.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.5106, allocations: 350.7 kB / 0.5647 GB, free: 60.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.5109, allocations: 161.9 kB / 0.5648 GB, free: 60.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.5112, allocations: 241.7 kB / 0.565 GB, free: 60.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.5118, allocations: 390.9 kB / 0.5654 GB, free: 60.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5119, allocations: 3.938 kB / 0.5654 GB, free: 60.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001861/0.5137, allocations: 0.7643 MB / 0.5662 GB, free: 59.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/0.5138, allocations: 122.6 kB / 0.5663 GB, free: 59.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5138, allocations: 1.719 kB / 0.5663 GB, free: 59.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.5162, allocations: 0.543 MB / 0.5668 GB, free: 59.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.5163, allocations: 34.58 kB / 0.5669 GB, free: 59.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.5176, allocations: 0.99 MB / 0.5678 GB, free: 58.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.518, allocations: 55.92 kB / 0.5679 GB, free: 58.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.5181, allocations: 31.97 kB / 0.5679 GB, free: 58.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.5181, allocations: 4 kB / 0.5679 GB, free: 58.5 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/0.5196, allocations: 0.6252 MB / 0.5685 GB, free: 57.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5196, allocations: 8.031 kB / 0.5685 GB, free: 57.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.5211, allocations: 478.3 kB / 0.569 GB, free: 57.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.5213, allocations: 42.05 kB / 0.569 GB, free: 57.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.5228, allocations: 0.97 MB / 0.57 GB, free: 56.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.5232, allocations: 63.84 kB / 0.57 GB, free: 56.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.5232, allocations: 25.02 kB / 0.5701 GB, free: 56.28 MB / 414.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.5235, allocations: 233.1 kB / 0.5703 GB, free: 56.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.5235, allocations: 48.64 kB / 0.5703 GB, free: 56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.5267, allocations: 3.011 MB / 0.5733 GB, free: 52.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.5267, allocations: 11.98 kB / 0.5733 GB, free: 52.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5267, allocations: 0 / 0.5733 GB, free: 52.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.5267, allocations: 0 / 0.5733 GB, free: 52.97 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003935/0.5307, allocations: 4.493 MB / 0.5777 GB, free: 48.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5307, allocations: 0 / 0.5777 GB, free: 48.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.5312, allocations: 79.88 kB / 0.5777 GB, free: 48.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/0.5334, allocations: 1.168 MB / 0.5789 GB, free: 47.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.5335, allocations: 8.812 kB / 0.5789 GB, free: 47.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.5359, allocations: 2.777 MB / 0.5816 GB, free: 44.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5359, allocations: 0 / 0.5816 GB, free: 44.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.5395, allocations: 3.97 MB / 0.5855 GB, free: 40.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.5397, allocations: 124.4 kB / 0.5856 GB, free: 39.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.5398, allocations: 12 kB / 0.5856 GB, free: 39.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.5401, allocations: 47.88 kB / 0.5856 GB, free: 39.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.5402, allocations: 27.97 kB / 0.5857 GB, free: 39.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.5403, allocations: 15.98 kB / 0.5857 GB, free: 39.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.5405, allocations: 247.2 kB / 0.5859 GB, free: 39.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5405, allocations: 0 / 0.5859 GB, free: 39.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00247/0.543, allocations: 0.9615 MB / 0.5869 GB, free: 38.75 MB / 414.1 MB 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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003707/0.5467, allocations: 0.9668 MB / 0.5878 GB, free: 37.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.549, allocations: 0.8218 MB / 0.5886 GB, free: 37.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.549, allocations: 0 / 0.5886 GB, free: 37.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.5505, allocations: 495.8 kB / 0.5891 GB, free: 36.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.5519, allocations: 243.5 kB / 0.5893 GB, free: 36.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.5538, allocations: 1.562 MB / 0.5908 GB, free: 34.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.554, allocations: 0.8634 MB / 0.5917 GB, free: 33.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000336/0.5544, allocations: 96.2 kB / 0.5918 GB, free: 33.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.5545, allocations: 35.42 kB / 0.5918 GB, free: 33.76 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5545, allocations: 0 / 0.5918 GB, free: 33.76 MB / 414.1 MB Notification: Performance of Templates: time 0.04746/0.602, allocations: 40.09 MB / 0.631 GB, free: 9.633 MB / 430.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile Environment - environmentSimulation: (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1) Environment - environmentSimulation: