Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixer",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.001449/0.00145, allocations: 96.2 kB / 16.3 MB, free: 5.992 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.001572/0.001572, allocations: 182 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 223.3 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.468/0.468, allocations: 48.77 MB / 320.4 MB, free: 3.844 MB / 254.1 MB 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.0009299/0.00093, allocations: 16 kB / 391.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1461, allocations: 60.26 MB / 451.5 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.3098/0.456, allocations: 60.82 MB / 0.5003 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.4678, allocations: 9.467 MB / 0.5096 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.469, allocations: 21.56 kB / 0.5096 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.4704, allocations: 268.3 kB / 0.5098 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.472, allocations: 415.9 kB / 0.5102 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01753/0.4895, allocations: 4.19 MB / 0.5143 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.4916, allocations: 0.763 MB / 0.5151 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006755/0.4923, allocations: 309.3 kB / 0.5154 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/0.493, allocations: 332.4 kB / 0.5157 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.4935, allocations: 318.8 kB / 0.516 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.4936, allocations: 29.06 kB / 0.516 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01492/0.5085, allocations: 6.179 MB / 0.522 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.5088, allocations: 91.59 kB / 0.5221 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.5093, allocations: 153.4 kB / 0.5223 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009139/0.5184, allocations: 2.657 MB / 0.5249 GB, free: 7.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5185, allocations: 0 / 0.5249 GB, free: 7.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5185, allocations: 0 / 0.5249 GB, free: 7.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5185, allocations: 0 / 0.5249 GB, free: 7.344 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005172/0.5237, allocations: 1.239 MB / 0.5261 GB, free: 6.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.5238, allocations: 12.03 kB / 0.5261 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.524, allocations: 90.52 kB / 0.5262 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/0.5248, allocations: 115.1 kB / 0.5263 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.5256, allocations: 396.8 kB / 0.5267 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.5256, allocations: 37 kB / 0.5267 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.5257, allocations: 48 kB / 0.5267 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.5275, allocations: 0.6842 MB / 0.5274 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.5275, allocations: 0 / 0.5274 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.5276, allocations: 20 kB / 0.5274 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.5276, allocations: 16 kB / 0.5274 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.5299, allocations: 0.5229 MB / 0.528 GB, free: 4.039 MB / 398.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.004397/0.5343, allocations: 2.636 MB / 0.5305 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.5363, allocations: 0.5735 MB / 0.5311 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07197/0.6083, allocations: 32.29 MB / 0.5626 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.6084, allocations: 39.03 kB / 0.5627 GB, free: 12.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 4.098e-06/0.6085, allocations: 0 / 0.5627 GB, free: 12.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006587/0.6151, allocations: 1.856 MB / 0.5645 GB, free: 10.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.6152, allocations: 114.8 kB / 0.5646 GB, free: 10.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.6158, allocations: 446.9 kB / 0.565 GB, free: 9.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/0.6159, allocations: 37.69 kB / 0.5651 GB, free: 9.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.6162, allocations: 276 kB / 0.5653 GB, free: 9.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.6163, allocations: 114.4 kB / 0.5654 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.6163, allocations: 4 kB / 0.5654 GB, free: 9.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.6165, allocations: 362.8 kB / 0.5658 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.6168, allocations: 159.9 kB / 0.5659 GB, free: 8.879 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.6172, allocations: 222.7 kB / 0.5661 GB, free: 8.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.6176, allocations: 179.8 kB / 0.5663 GB, free: 8.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6176, allocations: 0 / 0.5663 GB, free: 8.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001922/0.6195, allocations: 0.7518 MB / 0.567 GB, free: 7.695 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.6198, allocations: 0.5332 MB / 0.5676 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.6198, allocations: 10.33 kB / 0.5676 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.6222, allocations: 0.5285 MB / 0.5681 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.6224, allocations: 35.92 kB / 0.5681 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.6242, allocations: 1.509 MB / 0.5696 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.6248, allocations: 51.91 kB / 0.5696 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6249, allocations: 23.98 kB / 0.5697 GB, free: 4.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6249, allocations: 7.953 kB / 0.5697 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0017/0.6266, allocations: 0.6361 MB / 0.5703 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.6267, allocations: 7.938 kB / 0.5703 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.6284, allocations: 453.4 kB / 0.5707 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.6286, allocations: 39.92 kB / 0.5708 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.6306, allocations: 1.436 MB / 0.5722 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.6312, allocations: 60 kB / 0.5722 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.6313, allocations: 24.69 kB / 0.5723 GB, free: 2.195 MB / 446.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 (header.fluidState.phase,pressDrop.state.phase,mixer.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): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003971/0.6317, allocations: 237.1 kB / 0.5725 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.6318, allocations: 51.34 kB / 0.5725 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.6358, allocations: 3.019 MB / 0.5755 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.6358, allocations: 11.98 kB / 0.5755 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.6358, allocations: 0 / 0.5755 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6358, allocations: 0 / 0.5755 GB, free: 14.86 MB / 462.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.005271/0.6411, allocations: 4.531 MB / 0.5799 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.6412, allocations: 0 / 0.5799 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.6414, allocations: 48.06 kB / 0.58 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002765/0.6442, allocations: 1.216 MB / 0.5812 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.6442, allocations: 8.938 kB / 0.5812 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/0.6474, allocations: 2.752 MB / 0.5838 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6475, allocations: 0 / 0.5838 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/0.652, allocations: 3.971 MB / 0.5877 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.6524, allocations: 132.3 kB / 0.5879 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.6525, allocations: 16 kB / 0.5879 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.653, allocations: 39.94 kB / 0.5879 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.6531, allocations: 27.97 kB / 0.5879 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.6532, allocations: 15.92 kB / 0.5879 GB, free: 1.711 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003627/0.6535, allocations: 314.9 kB / 0.5882 GB, free: 1.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6535, allocations: 0 / 0.5882 GB, free: 1.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003266/0.6568, allocations: 0.9879 MB / 0.5892 GB, free: 428 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007456/0.6643, allocations: 2.496 MB / 0.5917 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.6669, allocations: 0.8095 MB / 0.5924 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.667, allocations: 0 / 0.5924 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.6684, allocations: 459.8 kB / 0.5929 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.6703, allocations: 308.7 kB / 0.5932 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.6754, allocations: 3.07 MB / 0.5962 GB, free: 9.188 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.6759, allocations: 0.899 MB / 0.597 GB, free: 8.258 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004594/0.6764, allocations: 109.8 kB / 0.5972 GB, free: 8.152 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.6767, allocations: 227.3 kB / 0.5974 GB, free: 7.93 MB / 478.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6767, allocations: 0 / 0.5974 GB, free: 7.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3496/1.026, allocations: 48.03 MB / 0.6443 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/1.027, allocations: 201.8 kB / 0.6445 GB, free: 163.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.18/7.206, allocations: 0 / 0.6445 GB, free: 163.9 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixer_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixer.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) Environment - environmentSimulation: