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.001525/0.001526, allocations: 96.72 kB / 16.3 MB, free: 5.656 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.00168/0.00168, allocations: 182.5 kB / 17.2 MB, free: 5.59 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.194/2.194, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3477/0.3477, allocations: 48.77 MB / 320.4 MB, free: 11.32 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.0005358/0.0005359, allocations: 13.8 kB / 391.2 MB, free: 50.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1205, allocations: 60.27 MB / 451.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.05529/0.1758, allocations: 47.16 MB / 498.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.1937, allocations: 9.272 MB / 0.496 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007564/0.1946, allocations: 19.88 kB / 0.496 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1957, allocations: 218.9 kB / 0.4963 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009516/0.1966, allocations: 331 kB / 0.4966 GB, free: 368 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01452/0.2112, allocations: 3.907 MB / 0.5004 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.2127, allocations: 0.613 MB / 0.501 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005964/0.2133, allocations: 254.6 kB / 0.5012 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.2138, allocations: 275.1 kB / 0.5015 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.2141, allocations: 270.9 kB / 0.5017 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.2142, allocations: 20 kB / 0.5018 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/0.2269, allocations: 6.177 MB / 0.5078 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.2272, allocations: 71.69 kB / 0.5079 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.2276, allocations: 137.3 kB / 0.508 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006811/0.2345, allocations: 2.592 MB / 0.5105 GB, free: 2.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2345, allocations: 3.938 kB / 0.5105 GB, free: 2.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.2345, allocations: 0 / 0.5105 GB, free: 2.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.2346, allocations: 0 / 0.5105 GB, free: 2.023 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00444/0.239, allocations: 1.173 MB / 0.5117 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/0.2391, allocations: 8.031 kB / 0.5117 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.2393, allocations: 74.53 kB / 0.5118 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005852/0.2399, allocations: 107.2 kB / 0.5119 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007454/0.2407, allocations: 358.7 kB / 0.5122 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.2407, allocations: 29 kB / 0.5122 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.2408, allocations: 47.91 kB / 0.5123 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.2425, allocations: 0.6201 MB / 0.5129 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2426, allocations: 0 / 0.5129 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.2426, allocations: 16 kB / 0.5129 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.2427, allocations: 12 kB / 0.5129 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.2441, allocations: 0.4995 MB / 0.5134 GB, free: 14.96 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.003215/0.2474, allocations: 2.505 MB / 0.5158 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.2488, allocations: 0.5592 MB / 0.5164 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4771/0.726, allocations: 32.28 MB / 0.5479 GB, free: 70.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.005e-05/0.7261, allocations: 32.88 kB / 0.5479 GB, free: 70.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.908e-06/0.7261, allocations: 0 / 0.5479 GB, free: 70.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.01066/0.7368, allocations: 1.78 MB / 0.5497 GB, free: 69.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.737, allocations: 108.4 kB / 0.5498 GB, free: 69.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.7378, allocations: 350.8 kB / 0.5501 GB, free: 69.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.7379, allocations: 35.61 kB / 0.5502 GB, free: 69.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.7382, allocations: 238.5 kB / 0.5504 GB, free: 69.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.7383, allocations: 118.1 kB / 0.5505 GB, free: 69.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.7384, allocations: 4.594 kB / 0.5505 GB, free: 69.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7385, allocations: 350.5 kB / 0.5508 GB, free: 69.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.7392, allocations: 167 kB / 0.551 GB, free: 68.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/0.74, allocations: 237.5 kB / 0.5512 GB, free: 68.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.7408, allocations: 183.3 kB / 0.5514 GB, free: 68.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7408, allocations: 0.9688 kB / 0.5514 GB, free: 68.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003614/0.7444, allocations: 0.7578 MB / 0.5521 GB, free: 68.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.7447, allocations: 0.5363 MB / 0.5527 GB, free: 68.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.7447, allocations: 1.094 kB / 0.5527 GB, free: 68.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004126/0.7488, allocations: 0.5308 MB / 0.5532 GB, free: 67.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.7491, allocations: 34.17 kB / 0.5532 GB, free: 67.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.7517, allocations: 0.9918 MB / 0.5542 GB, free: 67.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/0.7526, allocations: 54.55 kB / 0.5542 GB, free: 67.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.7528, allocations: 26.05 kB / 0.5543 GB, free: 67.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.7528, allocations: 4.25 kB / 0.5543 GB, free: 67.12 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002973/0.7558, allocations: 0.6328 MB / 0.5549 GB, free: 66.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7558, allocations: 3.875 kB / 0.5549 GB, free: 66.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.7587, allocations: 470.6 kB / 0.5553 GB, free: 66.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.7591, allocations: 46.56 kB / 0.5554 GB, free: 66.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.7619, allocations: 0.9377 MB / 0.5563 GB, free: 65.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/0.7628, allocations: 54.38 kB / 0.5563 GB, free: 65.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.7629, allocations: 26.38 kB / 0.5564 GB, free: 65.78 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.0005305/0.7634, allocations: 237.3 kB / 0.5566 GB, free: 65.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.7637, allocations: 41.16 kB / 0.5566 GB, free: 65.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006667/0.7704, allocations: 3.011 MB / 0.5596 GB, free: 63.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.7705, allocations: 11.95 kB / 0.5596 GB, free: 63.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.7705, allocations: 0 / 0.5596 GB, free: 63.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.7705, allocations: 3.984 kB / 0.5596 GB, free: 63.81 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.007455/0.778, allocations: 4.486 MB / 0.564 GB, free: 60.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.778, allocations: 0 / 0.564 GB, free: 60.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7791, allocations: 80.72 kB / 0.564 GB, free: 60.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003917/0.783, allocations: 1.165 MB / 0.5652 GB, free: 60.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.7831, allocations: 11.94 kB / 0.5652 GB, free: 60.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/0.7874, allocations: 2.793 MB / 0.5679 GB, free: 57.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.7874, allocations: 11.83 kB / 0.5679 GB, free: 57.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006592/0.794, allocations: 3.962 MB / 0.5718 GB, free: 53.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.7944, allocations: 121.5 kB / 0.5719 GB, free: 53.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.7946, allocations: 12.03 kB / 0.5719 GB, free: 53.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006763/0.7952, allocations: 47.91 kB / 0.572 GB, free: 53.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.7954, allocations: 27.95 kB / 0.572 GB, free: 53.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.7955, allocations: 16 kB / 0.572 GB, free: 53.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003792/0.7959, allocations: 247.2 kB / 0.5723 GB, free: 52.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7959, allocations: 0 / 0.5723 GB, free: 52.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004354/0.8003, allocations: 0.9595 MB / 0.5732 GB, free: 51.88 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.01098/0.8113, allocations: 2.508 MB / 0.5756 GB, free: 49.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004135/0.8155, allocations: 0.8114 MB / 0.5764 GB, free: 48.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.8155, allocations: 3.938 kB / 0.5764 GB, free: 48.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002379/0.8179, allocations: 489.1 kB / 0.5769 GB, free: 48.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.8202, allocations: 224.6 kB / 0.5771 GB, free: 47.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/0.8274, allocations: 2.898 MB / 0.5799 GB, free: 45.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.8279, allocations: 0.8712 MB / 0.5808 GB, free: 44.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005863/0.8285, allocations: 94.19 kB / 0.5809 GB, free: 44.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.8288, allocations: 179.4 kB / 0.5811 GB, free: 43.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.8288, allocations: 0 / 0.5811 GB, free: 43.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/0.9358, allocations: 45.51 MB / 0.6255 GB, free: 14.32 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003562/0.9363, allocations: 211.6 kB / 0.6257 GB, free: 14.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.018/5.954, allocations: 4.062 kB / 0.6257 GB, free: 14.07 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: