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.000792/0.000792, allocations: 92.53 kB / 16.65 MB, free: 6.586 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.00085/0.0008499, allocations: 185.4 kB / 17.56 MB, free: 6.203 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.144/1.144, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2274/0.2274, allocations: 48.79 MB / 320.8 MB, free: 11.19 MB / 270.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.0004705/0.0004706, allocations: 14.89 kB / 391.9 MB, free: 49.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07608/0.07656, allocations: 60.26 MB / 452.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.05821/0.1348, allocations: 72.26 MB / 0.5121 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.1468, allocations: 11.52 MB / 0.5234 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.1472, allocations: 15.88 kB / 0.5234 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007043/0.1479, allocations: 278.4 kB / 0.5237 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006512/0.1485, allocations: 425.5 kB / 0.5241 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.1586, allocations: 4.33 MB / 0.5283 GB, free: 12 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1711/0.3297, allocations: 1.682 MB / 0.5299 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.3304, allocations: 308.8 kB / 0.5302 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008102/0.3312, allocations: 387.2 kB / 0.5306 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008107/0.332, allocations: 443.4 kB / 0.531 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3321, allocations: 25.56 kB / 0.5311 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/0.3423, allocations: 6.267 MB / 0.5372 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3425, allocations: 96.27 kB / 0.5373 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005151/0.3431, allocations: 343.6 kB / 0.5376 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.3487, allocations: 3.985 MB / 0.5415 GB, free: 10.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3487, allocations: 2.375 kB / 0.5415 GB, free: 10.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3487, allocations: 2.844 kB / 0.5415 GB, free: 10.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3487, allocations: 1.125 kB / 0.5415 GB, free: 10.22 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.002552/0.3513, allocations: 1.225 MB / 0.5427 GB, free: 9.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3513, allocations: 10.28 kB / 0.5427 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.3514, allocations: 89.73 kB / 0.5428 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.3518, allocations: 123 kB / 0.5429 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.3522, allocations: 414.5 kB / 0.5433 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.3523, allocations: 36.62 kB / 0.5433 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/0.3524, allocations: 63.19 kB / 0.5434 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.3537, allocations: 0.6849 MB / 0.5441 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3538, allocations: 1.062 kB / 0.5441 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.3538, allocations: 21.94 kB / 0.5441 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3538, allocations: 11.62 kB / 0.5441 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.3551, allocations: 0.527 MB / 0.5446 GB, free: 9.07 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.001902/0.357, allocations: 2.642 MB / 0.5472 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.3582, allocations: 0.5658 MB / 0.5477 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.3584, allocations: 128.5 kB / 0.5479 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05519/0.4136, allocations: 32.29 MB / 0.5794 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.4137, allocations: 34.03 kB / 0.5794 GB, free: 15.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.4137, allocations: 0 / 0.5794 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.005287/0.419, allocations: 1.871 MB / 0.5813 GB, free: 15.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.419, allocations: 105.2 kB / 0.5814 GB, free: 15.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.4194, allocations: 460.6 kB / 0.5818 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.4195, allocations: 33.58 kB / 0.5818 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.4196, allocations: 279.1 kB / 0.5821 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.4197, allocations: 108.4 kB / 0.5822 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.4197, allocations: 35.95 kB / 0.5822 GB, free: 14.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4199, allocations: 370.2 kB / 0.5826 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.4201, allocations: 155.9 kB / 0.5827 GB, free: 14.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.4204, allocations: 225.3 kB / 0.5829 GB, free: 14.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.421, allocations: 381 kB / 0.5833 GB, free: 14.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.421, allocations: 3.406 kB / 0.5833 GB, free: 14.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001692/0.4227, allocations: 0.7443 MB / 0.584 GB, free: 13.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.4228, allocations: 127.5 kB / 0.5842 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.4228, allocations: 3.984 kB / 0.5842 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.4249, allocations: 0.5258 MB / 0.5847 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4251, allocations: 36.06 kB / 0.5847 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.4265, allocations: 1.511 MB / 0.5862 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.4269, allocations: 59.06 kB / 0.5862 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.427, allocations: 28.16 kB / 0.5863 GB, free: 12.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.427, allocations: 3.656 kB / 0.5863 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/0.4284, allocations: 0.6234 MB / 0.5869 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.4284, allocations: 0 / 0.5869 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.4298, allocations: 473.2 kB / 0.5873 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.43, allocations: 38.95 kB / 0.5874 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.4316, allocations: 1.438 MB / 0.5888 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.4319, allocations: 65.98 kB / 0.5888 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.432, allocations: 21.3 kB / 0.5889 GB, free: 11.02 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.4322, allocations: 240 kB / 0.5891 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.4323, allocations: 59.56 kB / 0.5891 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/0.4354, allocations: 3.017 MB / 0.5921 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4354, allocations: 6.688 kB / 0.5921 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4354, allocations: 0 / 0.5921 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4354, allocations: 7.984 kB / 0.5921 GB, free: 9.863 MB / 446.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.004112/0.4395, allocations: 4.516 MB / 0.5965 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-06/0.4395, allocations: 96 / 0.5965 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.4397, allocations: 49.91 kB / 0.5966 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/0.4422, allocations: 1.21 MB / 0.5977 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.4422, allocations: 11.8 kB / 0.5978 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.4449, allocations: 2.727 MB / 0.6004 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4449, allocations: 3.984 kB / 0.6004 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.4487, allocations: 3.964 MB / 0.6043 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.4488, allocations: 144.9 kB / 0.6044 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.4489, allocations: 7.625 kB / 0.6044 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.4493, allocations: 49.42 kB / 0.6045 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.4494, allocations: 30.22 kB / 0.6045 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.4494, allocations: 8 kB / 0.6045 GB, free: 0.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002896/0.4497, allocations: 319.1 kB / 0.6048 GB, free: 264 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4497, allocations: 4 kB / 0.6048 GB, free: 260 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.00306/0.4528, allocations: 0.9893 MB / 0.6058 GB, free: 15.31 MB / 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005398/0.4582, allocations: 2.511 MB / 0.6083 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.4602, allocations: 0.8003 MB / 0.609 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4602, allocations: 320 / 0.609 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009884/0.4612, allocations: 458.4 kB / 0.6095 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.4629, allocations: 306.5 kB / 0.6098 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008493/0.4714, allocations: 5.955 MB / 0.6156 GB, free: 6.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4717, allocations: 0.8873 MB / 0.6164 GB, free: 5.355 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003302/0.4721, allocations: 112.5 kB / 0.6166 GB, free: 5.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.4723, allocations: 223.4 kB / 0.6168 GB, free: 5.031 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4723, allocations: 4 kB / 0.6168 GB, free: 5.027 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06729/0.5396, allocations: 48.14 MB / 0.6638 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.5398, allocations: 218.7 kB / 0.664 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/3.998, allocations: 64 / 0.664 GB, free: 4.75 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/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)