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.001187/0.001187, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009482/0.0009485, allocations: 82.77 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3694/0.3694, allocations: 48.79 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.652e-05, allocations: 4 kB / 432.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1548, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.486/8.641, allocations: 2.902 GB / 3.383 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/8.641, allocations: 79.95 kB / 3.383 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.556/11.2, allocations: 0.6576 GB / 4.041 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/11.2, allocations: 1.094 kB / 4.041 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.958e-05/11.2, allocations: 26.12 kB / 4.041 GB, free: 43.48 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.004956/11.2, allocations: 1.396 MB / 4.042 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/11.2, allocations: 7.281 kB / 4.042 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/11.2, allocations: 112.2 kB / 4.042 GB, free: 42.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/11.2, allocations: 118.1 kB / 4.042 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/11.2, allocations: 0.5399 MB / 4.043 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/11.2, allocations: 46.59 kB / 4.043 GB, free: 42.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/11.2, allocations: 66.98 kB / 4.043 GB, free: 42.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/11.21, allocations: 0.9421 MB / 4.044 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/11.21, allocations: 2.062 kB / 4.044 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/11.21, allocations: 36.81 kB / 4.044 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/11.21, allocations: 15.38 kB / 4.044 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/11.21, allocations: 0.558 MB / 4.045 GB, free: 42.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/11.21, allocations: 4.408 MB / 4.049 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/11.21, allocations: 488 kB / 4.049 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/11.21, allocations: 162.2 kB / 4.049 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05342/11.26, allocations: 31.98 MB / 4.081 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/11.27, allocations: 35.06 kB / 4.081 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.515e-06/11.27, allocations: 3.688 kB / 4.081 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001597/11.27, allocations: 0.5683 MB / 4.081 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008996/11.27, allocations: 82.64 kB / 4.081 GB, free: 35.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/11.27, allocations: 403.9 kB / 4.082 GB, free: 35.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/11.27, allocations: 32.45 kB / 4.082 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/11.27, allocations: 334.6 kB / 4.082 GB, free: 35.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/11.27, allocations: 115.2 kB / 4.082 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/11.27, allocations: 6.188 kB / 4.082 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001734/11.27, allocations: 366.5 kB / 4.083 GB, free: 34.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/11.27, allocations: 107 kB / 4.083 GB, free: 34.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/11.27, allocations: 171.7 kB / 4.083 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/11.27, allocations: 114.8 kB / 4.083 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/11.27, allocations: 0 / 4.083 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000598/11.27, allocations: 389 kB / 4.083 GB, free: 34.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/11.27, allocations: 0.8705 MB / 4.084 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/11.27, allocations: 3.594 kB / 4.084 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/11.27, allocations: 3.656 kB / 4.084 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/11.27, allocations: 98.69 kB / 4.084 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/11.27, allocations: 7.547 kB / 4.084 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/11.27, allocations: 89.48 kB / 4.084 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/11.27, allocations: 26.06 kB / 4.084 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/11.27, allocations: 3.938 kB / 4.084 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003802/11.27, allocations: 242.2 kB / 4.085 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/11.27, allocations: 3.875 kB / 4.085 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/11.27, allocations: 6.125 kB / 4.085 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/11.27, allocations: 90.2 kB / 4.085 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/11.27, allocations: 6.875 kB / 4.085 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/11.27, allocations: 78.47 kB / 4.085 GB, free: 33.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/11.27, allocations: 23.22 kB / 4.085 GB, free: 33.52 MB / 0.5417 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 () * 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.0001313/11.27, allocations: 120.1 kB / 4.085 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/11.27, allocations: 56.72 kB / 4.085 GB, free: 33.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/11.27, allocations: 1.528 MB / 4.086 GB, free: 33.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/11.27, allocations: 28.5 kB / 4.086 GB, free: 33.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/11.27, allocations: 0 / 4.086 GB, free: 33.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/11.27, allocations: 2.188 kB / 4.086 GB, free: 33.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/11.28, allocations: 0.9764 MB / 4.087 GB, free: 32.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/11.28, allocations: 3.719 kB / 4.087 GB, free: 32.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/11.28, allocations: 68.72 kB / 4.088 GB, free: 32.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/11.28, allocations: 7.609 kB / 4.088 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/11.28, allocations: 9.781 kB / 4.088 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/11.28, allocations: 3.406 kB / 4.088 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/11.28, allocations: 0 / 4.088 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/11.28, allocations: 0.9482 MB / 4.088 GB, free: 32.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/11.28, allocations: 197.8 kB / 4.089 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/11.28, allocations: 8.875 kB / 4.089 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/11.28, allocations: 67.05 kB / 4.089 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/11.28, allocations: 35.22 kB / 4.089 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/11.28, allocations: 10.94 kB / 4.089 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003189/11.28, allocations: 317.7 kB / 4.089 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/11.28, allocations: 0 / 4.089 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005958/11.28, allocations: 1.137 MB / 4.09 GB, free: 32.24 MB / 0.5417 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 () * 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.009234/11.29, allocations: 3.263 MB / 4.093 GB, free: 31.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001174/11.29, allocations: 0.6147 MB / 4.094 GB, free: 31.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/11.29, allocations: 0 / 4.094 GB, free: 31.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004215/11.29, allocations: 391.5 kB / 4.094 GB, free: 31.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/11.3, allocations: 304 kB / 4.095 GB, free: 31.01 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005622/11.3, allocations: 1.621 MB / 4.096 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/11.3, allocations: 1.004 MB / 4.097 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007961/11.3, allocations: 404.2 kB / 4.098 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/11.3, allocations: 302.7 kB / 4.098 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of SimCode: time 8.72e-07/11.3, allocations: 0 / 4.098 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09026/11.39, allocations: 58 MB / 4.155 GB, free: 26.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/11.39, allocations: 143.2 kB / 4.155 GB, free: 26.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/15.41, allocations: 0 / 4.155 GB, free: 26.31 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)