Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002114/0.002115, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 93.25 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6401/0.6401, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1881, allocations: 60.24 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.233/8.422, allocations: 2.902 GB / 3.389 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004121/8.422, allocations: 82.95 kB / 3.389 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.712/11.13, allocations: 0.6606 GB / 4.05 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.627e-06/11.13, allocations: 0 / 4.05 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.671e-05/11.13, allocations: 26.14 kB / 4.05 GB, free: 40.45 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.008287/11.14, allocations: 1.465 MB / 4.051 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/11.14, allocations: 10.72 kB / 4.051 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003544/11.14, allocations: 113.3 kB / 4.051 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005832/11.14, allocations: 123.2 kB / 4.051 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/11.15, allocations: 0.5335 MB / 4.052 GB, free: 39.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/11.15, allocations: 50.12 kB / 4.052 GB, free: 39.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/11.15, allocations: 68.16 kB / 4.052 GB, free: 39.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/11.15, allocations: 0.9474 MB / 4.053 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/11.15, allocations: 3.375 kB / 4.053 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/11.15, allocations: 29.53 kB / 4.053 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/11.15, allocations: 14.03 kB / 4.053 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/11.15, allocations: 0.6013 MB / 4.053 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004422/11.15, allocations: 4.418 MB / 4.058 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/11.16, allocations: 489.5 kB / 4.058 GB, free: 34.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05489/11.21, allocations: 31.87 MB / 4.089 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/11.21, allocations: 38.44 kB / 4.089 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.936e-06/11.21, allocations: 6.969 kB / 4.089 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.002232/11.21, allocations: 0.7237 MB / 4.09 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/11.21, allocations: 83.47 kB / 4.09 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/11.21, allocations: 408 kB / 4.091 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/11.21, allocations: 31.17 kB / 4.091 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/11.21, allocations: 333.7 kB / 4.091 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/11.21, allocations: 112 kB / 4.091 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/11.21, allocations: 11.16 kB / 4.091 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001082/11.21, allocations: 368.1 kB / 4.091 GB, free: 13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/11.21, allocations: 137.2 kB / 4.092 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/11.21, allocations: 216.4 kB / 4.092 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/11.21, allocations: 152 kB / 4.092 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/11.21, allocations: 0 / 4.092 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008195/11.22, allocations: 446 kB / 4.092 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002547/11.22, allocations: 0.872 MB / 4.093 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/11.22, allocations: 6.625 kB / 4.093 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/11.22, allocations: 3.938 kB / 4.093 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/11.22, allocations: 93.33 kB / 4.093 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/11.22, allocations: 3.531 kB / 4.093 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/11.22, allocations: 102.5 kB / 4.093 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/11.22, allocations: 23.98 kB / 4.093 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/11.22, allocations: 3.75 kB / 4.093 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005612/11.22, allocations: 296.6 kB / 4.094 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/11.22, allocations: 6.531 kB / 4.094 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-06/11.22, allocations: 3.969 kB / 4.094 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/11.22, allocations: 88.48 kB / 4.094 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/11.22, allocations: 3.906 kB / 4.094 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/11.22, allocations: 84.94 kB / 4.094 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/11.22, allocations: 19.06 kB / 4.094 GB, free: 11.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003266/11.22, allocations: 260.4 kB / 4.094 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/11.22, allocations: 61.34 kB / 4.094 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/11.22, allocations: 1.586 MB / 4.096 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/11.22, allocations: 26.56 kB / 4.096 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/11.22, allocations: 0.9062 kB / 4.096 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/11.22, allocations: 3.5 kB / 4.096 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/11.22, allocations: 0.9766 MB / 4.097 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/11.22, allocations: 7.141 kB / 4.097 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/11.22, allocations: 69.94 kB / 4.097 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/11.22, allocations: 2.875 kB / 4.097 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/11.22, allocations: 17.61 kB / 4.097 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/11.22, allocations: 3.656 kB / 4.097 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/11.22, allocations: 3.938 kB / 4.097 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/11.22, allocations: 1.007 MB / 4.098 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/11.22, allocations: 196.2 kB / 4.098 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/11.22, allocations: 6.719 kB / 4.098 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/11.22, allocations: 68.62 kB / 4.098 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/11.22, allocations: 34.22 kB / 4.098 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/11.22, allocations: 11.23 kB / 4.098 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003138/11.22, allocations: 323.3 kB / 4.098 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/11.22, allocations: 3.969 kB / 4.098 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006169/11.23, allocations: 1.135 MB / 4.1 GB, free: 8.746 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01165/11.24, allocations: 3.313 MB / 4.103 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001697/11.24, allocations: 0.6759 MB / 4.103 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/11.24, allocations: 0 / 4.103 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/11.24, allocations: 432.8 kB / 4.104 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/11.25, allocations: 298 kB / 4.104 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/11.26, allocations: 5.468 MB / 4.109 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/11.26, allocations: 0.9975 MB / 4.11 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009709/11.26, allocations: 387 kB / 4.111 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/11.26, allocations: 300.1 kB / 4.111 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/11.26, allocations: 0 / 4.111 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4902/11.75, allocations: 52.19 MB / 4.162 GB, free: 44.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/11.75, allocations: 166.3 kB / 4.162 GB, free: 44.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.195/15.95, allocations: 0 / 4.162 GB, free: 44.02 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestJoin_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestJoin.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1)