Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.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.DistributedParameterComponents.TestGasFlow1DFV_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_C",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_C",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.002318/0.002318, allocations: 175.5 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 2.032/2.032, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0009376/0.0009376, allocations: 86.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3671/0.3671, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.799e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 60.25 MB / 492.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.287/3.434, allocations: 1.078 GB / 1.56 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/3.434, allocations: 82.77 kB / 1.56 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.813/5.247, allocations: 498.9 MB / 2.047 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.795e-06/5.247, allocations: 0 / 2.047 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002256/5.247, allocations: 56 kB / 2.047 GB, free: 27.34 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 696 * Number of variables: 696 Notification: Performance of Generate backend data structure: time 0.01597/5.263, allocations: 2.743 MB / 2.05 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/5.263, allocations: 12.03 kB / 2.05 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001934/5.265, allocations: 387.7 kB / 2.05 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/5.281, allocations: 1.277 MB / 2.051 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009273/5.29, allocations: 1.724 MB / 2.053 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/5.29, allocations: 205.2 kB / 2.053 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/5.293, allocations: 307.6 kB / 2.054 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/5.312, allocations: 4.712 MB / 2.058 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/5.312, allocations: 0 / 2.058 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/5.313, allocations: 112 kB / 2.058 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/5.314, allocations: 145.4 kB / 2.058 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/5.332, allocations: 5.163 MB / 2.063 GB, free: 10.38 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.4435/5.776, allocations: 16.14 MB / 2.079 GB, free: 64.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007028/5.783, allocations: 4.578 MB / 2.084 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004312/5.787, allocations: 2.065 MB / 2.086 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/5.788, allocations: 152.6 kB / 2.086 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.192e-05/5.788, allocations: 77.17 kB / 2.086 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=277): time 8.125e-06/5.788, allocations: 3.781 kB / 2.086 GB, free: 62.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=282): time 0.02611/5.814, allocations: 10.21 MB / 2.096 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/5.814, allocations: 107.3 kB / 2.096 GB, free: 61.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/5.815, allocations: 0.6175 MB / 2.097 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007743/5.816, allocations: 89.86 kB / 2.097 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/5.817, allocations: 0.7655 MB / 2.097 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/5.818, allocations: 0.9919 MB / 2.098 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/5.818, allocations: 52.81 kB / 2.098 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001708/5.818, allocations: 413.6 kB / 2.099 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/5.821, allocations: 1.709 MB / 2.1 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/5.823, allocations: 1.987 MB / 2.102 GB, free: 59.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/5.826, allocations: 1.973 MB / 2.104 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/5.826, allocations: 3.531 kB / 2.104 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.009523/5.835, allocations: 5.939 MB / 2.11 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002736/5.836, allocations: 0.9742 MB / 2.111 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/5.836, allocations: 0 / 2.111 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08413/5.92, allocations: 15.05 MB / 2.126 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/5.922, allocations: 329.9 kB / 2.126 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/5.937, allocations: 8.825 MB / 2.135 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/5.94, allocations: 475.6 kB / 2.135 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003568/5.941, allocations: 98.72 kB / 2.135 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/5.941, allocations: 6.938 kB / 2.135 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008145/5.949, allocations: 5.292 MB / 2.14 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/5.949, allocations: 3.688 kB / 2.14 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05255/6.001, allocations: 7.177 MB / 2.147 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/6.004, allocations: 0.5653 MB / 2.148 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/6.012, allocations: 6.736 MB / 2.155 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/6.015, allocations: 421.8 kB / 2.155 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/6.016, allocations: 98.69 kB / 2.155 GB, free: 53.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {77 98} Notification: Performance of prepare postOptimizeDAE: time 0.001135/6.017, allocations: 232.3 kB / 2.155 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/6.017, allocations: 167.9 kB / 2.155 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/6.029, allocations: 5.612 MB / 2.161 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/6.029, allocations: 25.69 kB / 2.161 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/6.029, allocations: 7.812 kB / 2.161 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/6.029, allocations: 20.16 kB / 2.161 GB, free: 53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/6.046, allocations: 9.452 MB / 2.17 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/6.047, allocations: 7.969 kB / 2.17 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/6.049, allocations: 0.5581 MB / 2.171 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004913/6.054, allocations: 1.517 MB / 2.172 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0011/6.055, allocations: 132.1 kB / 2.172 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/6.067, allocations: 9.107 MB / 2.181 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/6.067, allocations: 8.797 kB / 2.181 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/6.08, allocations: 7.412 MB / 2.189 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009141/6.081, allocations: 227.7 kB / 2.189 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/6.081, allocations: 101.4 kB / 2.189 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/6.084, allocations: 367.9 kB / 2.189 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005102/6.084, allocations: 200.9 kB / 2.189 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003613/6.085, allocations: 143.2 kB / 2.19 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006466/6.086, allocations: 494.2 kB / 2.19 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/6.086, allocations: 6.656 kB / 2.19 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004649/6.09, allocations: 1.608 MB / 2.192 GB, free: 43.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 29 (Mbal,hex.Ttilde[1],hex.Ttilde[2],hex.Ttilde[3],hex.Ttilde[4],hex.Ttilde[5],hex.Ttilde[6],hex.Ttilde[7],hex.Ttilde[8],hex.Ttilde[9],hex.Xtilde[1,1],hex.Xtilde[1,2],hex.Xtilde[2,1],hex.Xtilde[2,2],hex.Xtilde[3,1],hex.Xtilde[3,2],hex.Xtilde[4,1],hex.Xtilde[4,2],hex.Xtilde[5,1],hex.Xtilde[5,2],hex.Xtilde[6,1],hex.Xtilde[6,2],hex.Xtilde[7,1],hex.Xtilde[7,2],hex.Xtilde[8,1],hex.Xtilde[8,2],hex.Xtilde[9,1],hex.Xtilde[9,2],hex.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01436/6.105, allocations: 9.587 MB / 2.201 GB, free: 37.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01893/6.124, allocations: 8.336 MB / 2.209 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/6.124, allocations: 6.562 kB / 2.209 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004453/6.128, allocations: 2.592 MB / 2.212 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/6.133, allocations: 0.826 MB / 2.212 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/6.146, allocations: 7.367 MB / 2.22 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/6.148, allocations: 1.908 MB / 2.221 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004074/6.152, allocations: 1.202 MB / 2.223 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/6.153, allocations: 0.8685 MB / 2.224 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/6.153, allocations: 0 / 2.224 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5353/6.688, allocations: 111.2 MB / 2.332 GB, free: 87.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/6.689, allocations: 193.8 kB / 2.332 GB, free: 87.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.758/12.45, allocations: 1.969 kB / 2.332 GB, free: 87.54 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_C_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_C.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_C.pipe 2>&1)