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.001071/0.001071, allocations: 175.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 91.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5689/0.5689, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.44e-05, allocations: 7.938 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 60.25 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.842/8.987, allocations: 2.901 GB / 3.375 GB, free: 96.68 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/8.987, allocations: 79.02 kB / 3.375 GB, free: 96.66 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.41/11.4, allocations: 0.653 GB / 4.028 GB, free: 19.98 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.453e-06/11.4, allocations: 0 / 4.028 GB, free: 19.98 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.714e-05/11.4, allocations: 22.94 kB / 4.028 GB, free: 19.98 MB / 0.5108 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.00613/11.4, allocations: 1.397 MB / 4.03 GB, free: 19.02 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/11.4, allocations: 11.16 kB / 4.03 GB, free: 19.02 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006053/11.4, allocations: 112 kB / 4.03 GB, free: 18.96 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/11.41, allocations: 0.5452 MB / 4.03 GB, free: 18.52 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/11.41, allocations: 26.73 kB / 4.03 GB, free: 18.51 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/11.41, allocations: 33.41 kB / 4.03 GB, free: 18.51 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009082/11.41, allocations: 431.6 kB / 4.031 GB, free: 18.33 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/11.41, allocations: 0.7303 MB / 4.031 GB, free: 17.75 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/11.41, allocations: 3.938 kB / 4.031 GB, free: 17.75 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/11.41, allocations: 3.844 kB / 4.031 GB, free: 17.75 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/11.41, allocations: 15.47 kB / 4.031 GB, free: 17.75 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/11.41, allocations: 4.261 MB / 4.036 GB, free: 13.59 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/11.41, allocations: 386.6 kB / 4.036 GB, free: 13.38 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/11.41, allocations: 152.6 kB / 4.036 GB, free: 13.3 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05946/11.47, allocations: 31.98 MB / 4.067 GB, free: 1.07 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/11.47, allocations: 34.56 kB / 4.067 GB, free: 1.027 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=32): time 3.266e-06/11.47, allocations: 3.938 kB / 4.067 GB, free: 1.023 MB / 0.5265 GB Notification: Performance of matching and sorting (n=32): time 0.001513/11.47, allocations: 467.5 kB / 4.068 GB, free: 0.5625 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/11.47, allocations: 85.05 kB / 4.068 GB, free: 472 kB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/11.47, allocations: 293.3 kB / 4.068 GB, free: 176 kB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/11.47, allocations: 25.7 kB / 4.068 GB, free: 144 kB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/11.47, allocations: 351 kB / 4.069 GB, free: 15.81 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/11.47, allocations: 118.2 kB / 4.069 GB, free: 15.69 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/11.47, allocations: 0 / 4.069 GB, free: 15.69 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001847/11.47, allocations: 350.8 kB / 4.069 GB, free: 15.34 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/11.47, allocations: 100.7 kB / 4.069 GB, free: 15.23 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/11.48, allocations: 173.5 kB / 4.069 GB, free: 15.04 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/11.48, allocations: 133.2 kB / 4.069 GB, free: 14.91 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/11.48, allocations: 0 / 4.069 GB, free: 14.91 MB / 0.5421 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007142/11.48, allocations: 358.8 kB / 4.07 GB, free: 14.55 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004889/11.48, allocations: 0.877 MB / 4.071 GB, free: 13.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/11.48, allocations: 4 kB / 4.071 GB, free: 13.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/11.48, allocations: 4 kB / 4.071 GB, free: 13.59 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/11.48, allocations: 91.88 kB / 4.071 GB, free: 13.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/11.48, allocations: 11.92 kB / 4.071 GB, free: 13.49 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/11.48, allocations: 67.7 kB / 4.071 GB, free: 13.43 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/11.48, allocations: 19.98 kB / 4.071 GB, free: 13.41 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/11.48, allocations: 4 kB / 4.071 GB, free: 13.4 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005012/11.48, allocations: 225.7 kB / 4.071 GB, free: 13.18 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/11.48, allocations: 12.25 kB / 4.071 GB, free: 13.17 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/11.48, allocations: 4 kB / 4.071 GB, free: 13.17 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/11.48, allocations: 83.89 kB / 4.071 GB, free: 13.09 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/11.48, allocations: 7.938 kB / 4.071 GB, free: 13.08 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/11.48, allocations: 67.7 kB / 4.071 GB, free: 13.01 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/11.48, allocations: 23.97 kB / 4.071 GB, free: 12.99 MB / 0.5421 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.0001757/11.48, allocations: 117.9 kB / 4.071 GB, free: 12.87 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006499/11.48, allocations: 307.3 kB / 4.072 GB, free: 12.56 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/11.48, allocations: 47.44 kB / 4.072 GB, free: 12.52 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/11.48, allocations: 1.487 MB / 4.073 GB, free: 11.02 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/11.48, allocations: 23.97 kB / 4.073 GB, free: 10.99 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/11.48, allocations: 0 / 4.073 GB, free: 10.99 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/11.48, allocations: 0 / 4.073 GB, free: 10.99 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/11.48, allocations: 0.8661 MB / 4.074 GB, free: 10.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/11.48, allocations: 0 / 4.074 GB, free: 10.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/11.48, allocations: 79.84 kB / 4.074 GB, free: 10.02 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/11.48, allocations: 4 kB / 4.074 GB, free: 10.02 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/11.48, allocations: 3.984 kB / 4.074 GB, free: 10.02 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/11.48, allocations: 4 kB / 4.074 GB, free: 10.01 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/11.48, allocations: 0 / 4.074 GB, free: 10.01 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/11.49, allocations: 0.9199 MB / 4.075 GB, free: 9.066 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/11.49, allocations: 191.9 kB / 4.075 GB, free: 8.859 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/11.49, allocations: 0 / 4.075 GB, free: 8.859 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/11.49, allocations: 59.8 kB / 4.075 GB, free: 8.801 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/11.49, allocations: 31.94 kB / 4.075 GB, free: 8.77 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/11.49, allocations: 12 kB / 4.075 GB, free: 8.758 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002591/11.49, allocations: 227 kB / 4.075 GB, free: 8.535 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.1e-07/11.49, allocations: 4 kB / 4.075 GB, free: 8.531 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.00482/11.49, allocations: 1.088 MB / 4.077 GB, free: 7.441 MB / 0.5421 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.008234/11.5, allocations: 3.514 MB / 4.08 GB, free: 4.137 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001051/11.5, allocations: 0.5813 MB / 4.081 GB, free: 3.551 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/11.5, allocations: 4 kB / 4.081 GB, free: 3.547 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/11.5, allocations: 390.3 kB / 4.081 GB, free: 3.164 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/11.5, allocations: 216.8 kB / 4.081 GB, free: 2.957 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/11.51, allocations: 1.576 MB / 4.083 GB, free: 1.336 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/11.51, allocations: 0.9991 MB / 4.084 GB, free: 320 kB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.3575/11.87, allocations: 396.8 kB / 4.084 GB, free: 63.61 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006054/11.87, allocations: 300.7 kB / 4.084 GB, free: 63.61 MB / 0.5421 GB Notification: Performance of SimCode: time 9.42e-07/11.87, allocations: 0 / 4.084 GB, free: 63.61 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08849/11.96, allocations: 40.4 MB / 4.124 GB, free: 63.12 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/11.96, allocations: 121.5 kB / 4.124 GB, free: 62.94 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.585/15.54, allocations: 0.875 kB / 4.124 GB, free: 62.94 MB / 0.5421 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)