Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",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.001514/0.001514, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001961/0.001961, allocations: 183.5 kB / 17.2 MB, free: 6.34 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.495/2.495, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4977/0.4977, 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.001024/0.001024, allocations: 13.22 kB / 391.2 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1842, allocations: 60.28 MB / 451.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.08873/0.2731, allocations: 47.16 MB / 498.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02025/0.2934, allocations: 9.276 MB / 0.496 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.2944, allocations: 7.938 kB / 0.496 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.2958, allocations: 230.8 kB / 0.4963 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.297, allocations: 331 kB / 0.4966 GB, free: 356 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02153/0.3185, allocations: 3.904 MB / 0.5004 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002216/0.3208, allocations: 0.613 MB / 0.501 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.3219, allocations: 270.4 kB / 0.5012 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000911/0.3228, allocations: 271 kB / 0.5015 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.3235, allocations: 262.9 kB / 0.5018 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.3236, allocations: 24 kB / 0.5018 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01969/0.3433, allocations: 6.173 MB / 0.5078 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.3436, allocations: 79.62 kB / 0.5079 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.344, allocations: 133.4 kB / 0.508 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00862/0.3526, allocations: 2.584 MB / 0.5105 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3527, allocations: 0 / 0.5105 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3527, allocations: 0 / 0.5105 GB, free: 2.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3527, allocations: 0 / 0.5105 GB, free: 2.02 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.005521/0.3583, allocations: 1.177 MB / 0.5117 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.3584, allocations: 12.03 kB / 0.5117 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.3585, allocations: 78.47 kB / 0.5118 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009368/0.3595, allocations: 103.2 kB / 0.5119 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008133/0.3603, allocations: 350.8 kB / 0.5122 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.3604, allocations: 32.98 kB / 0.5122 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3605, allocations: 51.91 kB / 0.5123 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/0.3632, allocations: 0.6163 MB / 0.5129 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3633, allocations: 4 kB / 0.5129 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.3633, allocations: 16 kB / 0.5129 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.3634, allocations: 12 kB / 0.5129 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.3659, allocations: 0.5034 MB / 0.5134 GB, free: 14.94 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.003987/0.3699, allocations: 2.304 MB / 0.5157 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.3723, allocations: 0.5515 MB / 0.5162 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4871/0.8594, allocations: 32.29 MB / 0.5477 GB, free: 70.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.8595, allocations: 37.84 kB / 0.5478 GB, free: 70.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.878e-06/0.8595, allocations: 0 / 0.5478 GB, free: 70.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.01017/0.8697, allocations: 1.778 MB / 0.5495 GB, free: 70.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.8698, allocations: 108.5 kB / 0.5496 GB, free: 69.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006601/0.8705, allocations: 352.5 kB / 0.5499 GB, free: 69.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.942e-05/0.8706, allocations: 31.23 kB / 0.55 GB, free: 69.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.8708, allocations: 243.9 kB / 0.5502 GB, free: 69.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.871, allocations: 111.9 kB / 0.5503 GB, free: 69.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.8711, allocations: 9.188 kB / 0.5503 GB, free: 69.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.8712, allocations: 352.7 kB / 0.5507 GB, free: 69.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/0.8719, allocations: 162.6 kB / 0.5508 GB, free: 69.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.8727, allocations: 237.8 kB / 0.551 GB, free: 69.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.8735, allocations: 187.1 kB / 0.5512 GB, free: 69.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.8735, allocations: 1.5 kB / 0.5512 GB, free: 69.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00378/0.8773, allocations: 0.7557 MB / 0.5519 GB, free: 68.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.8776, allocations: 0.5285 MB / 0.5525 GB, free: 68.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.8776, allocations: 5.156 kB / 0.5525 GB, free: 68.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004367/0.882, allocations: 0.5172 MB / 0.553 GB, free: 68.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.8824, allocations: 51.78 kB / 0.553 GB, free: 68.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.8851, allocations: 0.9834 MB / 0.554 GB, free: 67.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008779/0.886, allocations: 59.11 kB / 0.554 GB, free: 67.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.8861, allocations: 23.55 kB / 0.5541 GB, free: 67.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8861, allocations: 2.875 kB / 0.5541 GB, free: 67.3 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002807/0.8889, allocations: 0.6335 MB / 0.5547 GB, free: 66.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.889, allocations: 2.156 kB / 0.5547 GB, free: 66.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.8919, allocations: 479.1 kB / 0.5551 GB, free: 66.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.8922, allocations: 42.56 kB / 0.5552 GB, free: 66.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.8952, allocations: 0.9295 MB / 0.5561 GB, free: 66.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00086/0.8961, allocations: 64.34 kB / 0.5562 GB, free: 65.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.8962, allocations: 22.73 kB / 0.5562 GB, free: 65.97 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.0005993/0.8968, allocations: 236.6 kB / 0.5564 GB, free: 65.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.8971, allocations: 44.97 kB / 0.5564 GB, free: 65.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006324/0.9034, allocations: 3.006 MB / 0.5594 GB, free: 64.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.9035, allocations: 18.94 kB / 0.5594 GB, free: 64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.9035, allocations: 7 kB / 0.5594 GB, free: 63.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.9035, allocations: 0 / 0.5594 GB, free: 63.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.0075/0.911, allocations: 4.48 MB / 0.5638 GB, free: 61.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.9111, allocations: 0 / 0.5638 GB, free: 61.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/0.912, allocations: 78.69 kB / 0.5639 GB, free: 61.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/0.9156, allocations: 1.171 MB / 0.565 GB, free: 60.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.9156, allocations: 11.94 kB / 0.565 GB, free: 60.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00372/0.9194, allocations: 2.788 MB / 0.5677 GB, free: 57.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.9194, allocations: 3.953 kB / 0.5677 GB, free: 57.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/0.9253, allocations: 3.963 MB / 0.5716 GB, free: 53.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.9256, allocations: 128.3 kB / 0.5717 GB, free: 53.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.9257, allocations: 8 kB / 0.5717 GB, free: 53.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/0.9263, allocations: 51.94 kB / 0.5718 GB, free: 53.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.9265, allocations: 27.95 kB / 0.5718 GB, free: 53.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.9265, allocations: 14.58 kB / 0.5718 GB, free: 53.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.9269, allocations: 251 kB / 0.5721 GB, free: 53.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.9269, allocations: 0 / 0.5721 GB, free: 53.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004117/0.931, allocations: 0.9645 MB / 0.573 GB, free: 52.11 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.01062/0.9417, allocations: 2.506 MB / 0.5755 GB, free: 49.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004185/0.946, allocations: 0.815 MB / 0.5763 GB, free: 48.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.946, allocations: 0 / 0.5763 GB, free: 48.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.9485, allocations: 487.9 kB / 0.5767 GB, free: 48.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.9508, allocations: 235.4 kB / 0.5769 GB, free: 48.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.9579, allocations: 2.894 MB / 0.5798 GB, free: 45.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.9584, allocations: 0.8712 MB / 0.5806 GB, free: 44.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007139/0.9592, allocations: 99.48 kB / 0.5807 GB, free: 44.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.9595, allocations: 179.4 kB / 0.5809 GB, free: 44.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.9596, allocations: 0 / 0.5809 GB, free: 44.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/1.073, allocations: 45.55 MB / 0.6254 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/1.073, allocations: 225.3 kB / 0.6256 GB, free: 14.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.942/6.015, allocations: 4 kB / 0.6256 GB, free: 14.2 MB / 430.1 MB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1) Environment - environmentSimulation: