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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008207/0.0008208, allocations: 88.16 kB / 16.31 MB, free: 5.547 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.0008657/0.0008659, allocations: 181.5 kB / 17.21 MB, free: 5.465 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.503/1.503, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3095/0.3095, allocations: 48.77 MB / 320.4 MB, free: 11.22 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.0005152/0.0005154, allocations: 15.39 kB / 391.3 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 60.27 MB / 451.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.05172/0.176, allocations: 52.26 MB / 0.492 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.1885, allocations: 10.03 MB / 0.5018 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005671/0.1891, allocations: 11.88 kB / 0.5018 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00084/0.19, allocations: 210.6 kB / 0.502 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008391/0.1908, allocations: 377.6 kB / 0.5024 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0134/0.2043, allocations: 3.83 MB / 0.5061 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.2061, allocations: 1.133 MB / 0.5072 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005341/0.2066, allocations: 254.5 kB / 0.5074 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.2071, allocations: 310.7 kB / 0.5077 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.2076, allocations: 342.6 kB / 0.5081 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.2076, allocations: 23.94 kB / 0.5081 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/0.2193, allocations: 6.009 MB / 0.514 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.2195, allocations: 67.7 kB / 0.514 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.2198, allocations: 137.4 kB / 0.5142 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005368/0.2252, allocations: 2.608 MB / 0.5167 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2252, allocations: 0 / 0.5167 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2253, allocations: 0 / 0.5167 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2253, allocations: 0 / 0.5167 GB, free: 11.64 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.003032/0.2283, allocations: 1.169 MB / 0.5178 GB, free: 10.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2284, allocations: 12.03 kB / 0.5179 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.125e-05/0.2285, allocations: 74.53 kB / 0.5179 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/0.2289, allocations: 111.2 kB / 0.518 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.2293, allocations: 350.7 kB / 0.5184 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2293, allocations: 29 kB / 0.5184 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.2294, allocations: 47.91 kB / 0.5184 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.2308, allocations: 0.6279 MB / 0.5191 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2309, allocations: 0 / 0.5191 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.2309, allocations: 16 kB / 0.5191 GB, free: 9.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2309, allocations: 16 kB / 0.5191 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2322, allocations: 0.4995 MB / 0.5196 GB, free: 8.574 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.002248/0.2344, allocations: 2.501 MB / 0.522 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.2357, allocations: 0.5709 MB / 0.5226 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.2359, allocations: 140.8 kB / 0.5227 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3119/0.5478, allocations: 32.28 MB / 0.5542 GB, free: 66.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.5479, allocations: 35.28 kB / 0.5543 GB, free: 66.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.5479, allocations: 0 / 0.5543 GB, free: 66.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.005475/0.5534, allocations: 1.785 MB / 0.556 GB, free: 66.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.5535, allocations: 109.4 kB / 0.5561 GB, free: 66.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.5539, allocations: 353 kB / 0.5564 GB, free: 65.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.5539, allocations: 34.52 kB / 0.5565 GB, free: 65.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.5541, allocations: 231.5 kB / 0.5567 GB, free: 65.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.5542, allocations: 111.8 kB / 0.5568 GB, free: 65.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.5542, allocations: 6.312 kB / 0.5568 GB, free: 65.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.5544, allocations: 357.8 kB / 0.5572 GB, free: 65.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.5547, allocations: 164.9 kB / 0.5573 GB, free: 65.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.5551, allocations: 230.7 kB / 0.5575 GB, free: 65.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.5555, allocations: 185.3 kB / 0.5577 GB, free: 65.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5555, allocations: 0 / 0.5577 GB, free: 65.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001694/0.5572, allocations: 0.7615 MB / 0.5585 GB, free: 65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.743e-05/0.5573, allocations: 140 kB / 0.5586 GB, free: 64.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5573, allocations: 0 / 0.5586 GB, free: 64.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.5592, allocations: 0.5249 MB / 0.5591 GB, free: 64.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.5594, allocations: 35.73 kB / 0.5591 GB, free: 64.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.5606, allocations: 0.9892 MB / 0.5601 GB, free: 63.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.561, allocations: 59.23 kB / 0.5602 GB, free: 63.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.561, allocations: 23.77 kB / 0.5602 GB, free: 63.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.561, allocations: 3.906 kB / 0.5602 GB, free: 63.79 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001386/0.5624, allocations: 0.6309 MB / 0.5608 GB, free: 63.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5624, allocations: 3.969 kB / 0.5608 GB, free: 63.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.5637, allocations: 464.5 kB / 0.5612 GB, free: 63.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.5639, allocations: 51.5 kB / 0.5613 GB, free: 63.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.5652, allocations: 0.9336 MB / 0.5622 GB, free: 62.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.5655, allocations: 55.31 kB / 0.5623 GB, free: 62.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.5656, allocations: 31.69 kB / 0.5623 GB, free: 62.46 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 (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.0003037/0.5659, allocations: 236.5 kB / 0.5625 GB, free: 62.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.566, allocations: 39.12 kB / 0.5626 GB, free: 62.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/0.5695, allocations: 3.014 MB / 0.5655 GB, free: 60 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.5695, allocations: 11.98 kB / 0.5655 GB, free: 59.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.5695, allocations: 0 / 0.5655 GB, free: 59.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5695, allocations: 3.953 kB / 0.5655 GB, free: 59.99 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.004086/0.5736, allocations: 4.487 MB / 0.5699 GB, free: 55.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.5736, allocations: 0 / 0.5699 GB, free: 55.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.5741, allocations: 91.83 kB / 0.57 GB, free: 55.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/0.5761, allocations: 1.161 MB / 0.5711 GB, free: 54.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.5761, allocations: 11.98 kB / 0.5711 GB, free: 54.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.5784, allocations: 2.78 MB / 0.5738 GB, free: 51.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5785, allocations: 0 / 0.5738 GB, free: 51.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.5821, allocations: 3.962 MB / 0.5777 GB, free: 47.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.5823, allocations: 126.1 kB / 0.5778 GB, free: 47.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.5823, allocations: 15.95 kB / 0.5778 GB, free: 46.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.5827, allocations: 43.98 kB / 0.5779 GB, free: 46.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5828, allocations: 31.95 kB / 0.5779 GB, free: 46.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.5828, allocations: 4 kB / 0.5779 GB, free: 46.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.5831, allocations: 251.2 kB / 0.5782 GB, free: 46.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5831, allocations: 0 / 0.5782 GB, free: 46.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003571/0.5866, allocations: 0.9608 MB / 0.5791 GB, free: 45.77 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 (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.005398/0.5921, allocations: 2.509 MB / 0.5816 GB, free: 43.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.5941, allocations: 0.8087 MB / 0.5823 GB, free: 42.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5941, allocations: 0 / 0.5823 GB, free: 42.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.5954, allocations: 491.8 kB / 0.5828 GB, free: 42.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5966, allocations: 236.7 kB / 0.583 GB, free: 41.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.6023, allocations: 3.679 MB / 0.5866 GB, free: 38.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.6026, allocations: 0.8569 MB / 0.5875 GB, free: 37.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.603, allocations: 95.22 kB / 0.5876 GB, free: 37.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.6032, allocations: 183.4 kB / 0.5877 GB, free: 37.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.806e-06/0.6032, allocations: 0 / 0.5877 GB, free: 37.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.7147, allocations: 45.77 MB / 0.6324 GB, free: 7.168 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.715, allocations: 212.6 kB / 0.6326 GB, free: 6.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.126/4.841, allocations: 0 / 0.6326 GB, free: 6.93 MB / 430.1 MB (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) Environment - environmentSimulation: