Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST1,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST1",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.0009683/0.0009684, allocations: 87.48 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.00108/0.00108, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.476/1.476, allocations: 205.4 MB / 223.4 MB, free: 5.289 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4389/0.4389, allocations: 48.77 MB / 320.4 MB, free: 3.852 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" 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.0004925/0.0004925, allocations: 12.62 kB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 60.25 MB / 451.5 MB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.2396/0.3493, allocations: 41.01 MB / 492.5 MB, free: 23.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01713/0.3665, allocations: 14.49 MB / 0.4952 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006094/0.3672, allocations: 9.844 kB / 0.4952 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.3679, allocations: 154.5 kB / 0.4953 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.3685, allocations: 270 kB / 0.4956 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01709/0.3856, allocations: 5.017 MB / 0.5005 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.3867, allocations: 0.7871 MB / 0.5012 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.3871, allocations: 187.3 kB / 0.5014 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.3875, allocations: 220 kB / 0.5016 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.3878, allocations: 250 kB / 0.5019 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.3878, allocations: 16.44 kB / 0.5019 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/0.4056, allocations: 8.64 MB / 0.5103 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.4058, allocations: 56.53 kB / 0.5104 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.4061, allocations: 111 kB / 0.5105 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008104/0.4142, allocations: 3.484 MB / 0.5139 GB, free: 2.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.4142, allocations: 4 kB / 0.5139 GB, free: 2.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.78e-06/0.4143, allocations: 0 / 0.5139 GB, free: 2.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.4143, allocations: 3.938 kB / 0.5139 GB, free: 2.621 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004876/0.4192, allocations: 1.232 MB / 0.5151 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4192, allocations: 11.97 kB / 0.5151 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.52e-05/0.4193, allocations: 62.53 kB / 0.5152 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.4196, allocations: 67.5 kB / 0.5152 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.42, allocations: 326.1 kB / 0.5155 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.42, allocations: 20.66 kB / 0.5156 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.4201, allocations: 35.94 kB / 0.5156 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.4208, allocations: 384.1 kB / 0.516 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4208, allocations: 7.906 kB / 0.516 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.4208, allocations: 12 kB / 0.516 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.4208, allocations: 4 kB / 0.516 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.4213, allocations: 254 kB / 0.5162 GB, free: 108 kB / 382.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.001642/0.423, allocations: 1.62 MB / 0.5178 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.4236, allocations: 218.4 kB / 0.518 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4238, allocations: 68.83 kB / 0.5181 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1127/0.5365, allocations: 64.6 MB / 0.5812 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.5366, allocations: 30.56 kB / 0.5812 GB, free: 5.793 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.737e-06/0.5366, allocations: 0 / 0.5812 GB, free: 5.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001342/0.5379, allocations: 476.2 kB / 0.5816 GB, free: 5.301 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.538, allocations: 51.41 kB / 0.5817 GB, free: 5.238 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.5384, allocations: 353.7 kB / 0.582 GB, free: 4.883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.5384, allocations: 33.7 kB / 0.5821 GB, free: 4.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.5386, allocations: 204 kB / 0.5823 GB, free: 4.641 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.5386, allocations: 71.02 kB / 0.5823 GB, free: 4.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.5386, allocations: 4 kB / 0.5823 GB, free: 4.566 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5388, allocations: 346.8 kB / 0.5827 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.5389, allocations: 63.92 kB / 0.5827 GB, free: 4.156 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.5391, allocations: 110 kB / 0.5828 GB, free: 4.027 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5392, allocations: 79.84 kB / 0.5829 GB, free: 3.949 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5392, allocations: 0 / 0.5829 GB, free: 3.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005474/0.5398, allocations: 305.2 kB / 0.5832 GB, free: 3.641 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.5399, allocations: 145.5 kB / 0.5833 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5399, allocations: 0 / 0.5833 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.5403, allocations: 77.61 kB / 0.5834 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.5405, allocations: 45.78 kB / 0.5834 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.542, allocations: 1.912 MB / 0.5853 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.5422, allocations: 35.67 kB / 0.5853 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.5423, allocations: 12 kB / 0.5854 GB, free: 1.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.5423, allocations: 4 kB / 0.5854 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004649/0.5427, allocations: 245.4 kB / 0.5856 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.5427, allocations: 0 / 0.5856 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.543, allocations: 80.66 kB / 0.5857 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.5432, allocations: 55.91 kB / 0.5857 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.5447, allocations: 1.888 MB / 0.5876 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.5449, allocations: 35.67 kB / 0.5876 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.5449, allocations: 15.94 kB / 0.5876 GB, free: 14.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.5452, allocations: 225.1 kB / 0.5878 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.5453, allocations: 35.53 kB / 0.5879 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.5464, allocations: 0.8284 MB / 0.5887 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.5464, allocations: 15.92 kB / 0.5887 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5464, allocations: 0 / 0.5887 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5464, allocations: 3.984 kB / 0.5887 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.5471, allocations: 0.5462 MB / 0.5892 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.5471, allocations: 4 kB / 0.5892 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.5474, allocations: 39.97 kB / 0.5893 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.542e-05/0.5475, allocations: 20.86 kB / 0.5893 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.5475, allocations: 13.98 kB / 0.5893 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009197/0.5484, allocations: 1.28 MB / 0.5906 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5484, allocations: 0 / 0.5906 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.5493, allocations: 0.8068 MB / 0.5913 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.5494, allocations: 132.3 kB / 0.5915 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.5494, allocations: 7.984 kB / 0.5915 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.5496, allocations: 15.98 kB / 0.5915 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.5497, allocations: 19.98 kB / 0.5915 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.5497, allocations: 4.688 kB / 0.5915 GB, free: 10.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.5499, allocations: 251.2 kB / 0.5918 GB, free: 10.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.55, allocations: 0 / 0.5918 GB, free: 10.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00534/0.5553, allocations: 1.347 MB / 0.5931 GB, free: 8.926 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$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 (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008096/0.5634, allocations: 2.557 MB / 0.5956 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.5645, allocations: 0.6065 MB / 0.5962 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.5646, allocations: 0.625 kB / 0.5962 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.5649, allocations: 307.1 kB / 0.5965 GB, free: 5.398 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.5659, allocations: 165.3 kB / 0.5966 GB, free: 5.238 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.5717, allocations: 3.023 MB / 0.5996 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.5721, allocations: 0.8324 MB / 0.6004 GB, free: 1.293 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003102/0.5724, allocations: 151 kB / 0.6005 GB, free: 1.145 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.5726, allocations: 159.4 kB / 0.6007 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5726, allocations: 4 kB / 0.6007 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2953/0.8679, allocations: 56.09 MB / 0.6555 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.8681, allocations: 206.1 kB / 0.6557 GB, free: 137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.415/6.283, allocations: 0 / 0.6557 GB, free: 137 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST1.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) Environment - environmentSimulation: