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.0009186/0.0009187, allocations: 85.98 kB / 16.31 MB, free: 6.449 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.001091/0.001091, allocations: 183 kB / 17.21 MB, free: 6.316 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.536/1.536, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4773/0.4773, allocations: 48.77 MB / 320.4 MB, free: 3.801 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.0006062/0.0006068, allocations: 16 kB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 60.25 MB / 451.5 MB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.3046/0.4329, allocations: 67.56 MB / 0.5069 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.4453, allocations: 10.2 MB / 0.5169 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007125/0.4461, allocations: 16.84 kB / 0.5169 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.447, allocations: 265.9 kB / 0.5172 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009841/0.448, allocations: 476.5 kB / 0.5176 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.464, allocations: 4.107 MB / 0.5216 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.466, allocations: 1.431 MB / 0.523 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005221/0.4666, allocations: 306.2 kB / 0.5233 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.4672, allocations: 376 kB / 0.5237 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.4677, allocations: 417.6 kB / 0.5241 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.4677, allocations: 26.28 kB / 0.5241 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.4796, allocations: 6.011 MB / 0.53 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.4799, allocations: 95.53 kB / 0.53 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004421/0.4803, allocations: 153.4 kB / 0.5302 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.486, allocations: 2.67 MB / 0.5328 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.486, allocations: 0 / 0.5328 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.486, allocations: 0 / 0.5328 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.486, allocations: 0 / 0.5328 GB, free: 15.09 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003082/0.4891, allocations: 1.239 MB / 0.534 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4892, allocations: 12.03 kB / 0.534 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.4893, allocations: 86.52 kB / 0.5341 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.49, allocations: 119.1 kB / 0.5342 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.4907, allocations: 396.8 kB / 0.5346 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.4908, allocations: 41 kB / 0.5346 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.4909, allocations: 49.25 kB / 0.5347 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.4933, allocations: 0.6881 MB / 0.5354 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.4933, allocations: 0 / 0.5354 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.4934, allocations: 24 kB / 0.5354 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.4934, allocations: 12 kB / 0.5354 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.4952, allocations: 0.519 MB / 0.5359 GB, free: 11.78 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.003463/0.4987, allocations: 2.636 MB / 0.5385 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.5006, allocations: 0.5707 MB / 0.539 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.5009, allocations: 129.2 kB / 0.5392 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06724/0.5682, allocations: 32.29 MB / 0.5707 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.5683, allocations: 42.48 kB / 0.5707 GB, free: 3.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.5683, allocations: 0 / 0.5707 GB, free: 3.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006551/0.5748, allocations: 1.855 MB / 0.5725 GB, free: 2.027 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.575, allocations: 114.8 kB / 0.5726 GB, free: 1.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.5756, allocations: 446.9 kB / 0.5731 GB, free: 1.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.5757, allocations: 37.7 kB / 0.5731 GB, free: 1.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.576, allocations: 284 kB / 0.5734 GB, free: 1.117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.5762, allocations: 110.4 kB / 0.5735 GB, free: 1.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.5762, allocations: 12 kB / 0.5735 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5764, allocations: 358.8 kB / 0.5738 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.5767, allocations: 155.9 kB / 0.574 GB, free: 496 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.5771, allocations: 222.8 kB / 0.5742 GB, free: 248 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.5774, allocations: 175.8 kB / 0.5744 GB, free: 72 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5775, allocations: 0 / 0.5744 GB, free: 72 kB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001998/0.5795, allocations: 0.7558 MB / 0.5751 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.5796, allocations: 133.4 kB / 0.5752 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5796, allocations: 4 kB / 0.5752 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.5819, allocations: 0.5285 MB / 0.5757 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.582, allocations: 29.23 kB / 0.5758 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.5839, allocations: 1.52 MB / 0.5773 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.5844, allocations: 51.91 kB / 0.5773 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.5845, allocations: 27.98 kB / 0.5773 GB, free: 12.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5845, allocations: 4 kB / 0.5773 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001547/0.586, allocations: 0.6296 MB / 0.578 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.586, allocations: 4 kB / 0.578 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.5875, allocations: 457.5 kB / 0.5784 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.5876, allocations: 39.92 kB / 0.5784 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.5897, allocations: 1.444 MB / 0.5798 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.5902, allocations: 56.02 kB / 0.5799 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.5902, allocations: 29.48 kB / 0.5799 GB, free: 10.22 MB / 462.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.0003159/0.5905, allocations: 234.1 kB / 0.5802 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/0.5906, allocations: 55.34 kB / 0.5802 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/0.5946, allocations: 3.017 MB / 0.5831 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5946, allocations: 7.938 kB / 0.5832 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5946, allocations: 4 kB / 0.5832 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5946, allocations: 3.984 kB / 0.5832 GB, free: 6.887 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.005423/0.6001, allocations: 4.524 MB / 0.5876 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.6001, allocations: 0 / 0.5876 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.6003, allocations: 54.84 kB / 0.5876 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/0.603, allocations: 1.212 MB / 0.5888 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.6031, allocations: 11.98 kB / 0.5888 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.6065, allocations: 2.735 MB / 0.5915 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6065, allocations: 3.984 kB / 0.5915 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004866/0.6114, allocations: 3.963 MB / 0.5954 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.6116, allocations: 140.3 kB / 0.5955 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/0.6117, allocations: 4 kB / 0.5955 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.6121, allocations: 47.95 kB / 0.5956 GB, free: 9.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.6122, allocations: 23.95 kB / 0.5956 GB, free: 9.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.6122, allocations: 11.98 kB / 0.5956 GB, free: 9.766 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003701/0.6126, allocations: 318.8 kB / 0.5959 GB, free: 9.457 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6126, allocations: 3.938 kB / 0.5959 GB, free: 9.453 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003341/0.6159, allocations: 0.9918 MB / 0.5969 GB, free: 8.461 MB / 478.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.006041/0.622, allocations: 2.497 MB / 0.5993 GB, free: 5.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.6242, allocations: 0.8018 MB / 0.6001 GB, free: 5.129 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6242, allocations: 7.938 kB / 0.6001 GB, free: 5.121 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.6253, allocations: 455.9 kB / 0.6005 GB, free: 4.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.627, allocations: 303.5 kB / 0.6008 GB, free: 4.367 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/0.6344, allocations: 4.084 MB / 0.6048 GB, free: 224 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.635, allocations: 0.8912 MB / 0.6057 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004396/0.6355, allocations: 110.7 kB / 0.6058 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.6358, allocations: 223.4 kB / 0.606 GB, free: 14.97 MB / 494.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6358, allocations: 0 / 0.606 GB, free: 14.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3527/0.9885, allocations: 48.34 MB / 0.6532 GB, free: 165.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.9887, allocations: 200.4 kB / 0.6534 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.178/5.166, allocations: 0 / 0.6534 GB, free: 165.1 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: