Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.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_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A",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.001322/0.001322, allocations: 177.1 kB / 8.35 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.933/1.933, 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.0009473/0.0009472, allocations: 94.64 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5797/0.5797, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.105e-05, allocations: 4 kB / 425.4 MB, free: 8.125 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 60.25 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.705/1.911, allocations: 456.4 MB / 0.9199 GB, free: 171 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/1.912, allocations: 80.12 kB / 0.92 GB, free: 171 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8709/2.782, allocations: 225.5 MB / 1.14 GB, free: 96.16 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.285e-06/2.783, allocations: 6.172 kB / 1.14 GB, free: 96.16 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001348/2.783, allocations: 47.91 kB / 1.14 GB, free: 96.15 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: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.007403/2.79, allocations: 2.105 MB / 1.142 GB, free: 95.49 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/2.79, allocations: 10.59 kB / 1.142 GB, free: 95.49 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/2.794, allocations: 468.4 kB / 1.143 GB, free: 95.39 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003925/2.798, allocations: 1.188 MB / 1.144 GB, free: 95.06 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-05/2.798, allocations: 63.56 kB / 1.144 GB, free: 95.06 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005542/2.799, allocations: 123.9 kB / 1.144 GB, free: 95.05 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005547/2.805, allocations: 3.148 MB / 1.147 GB, free: 95.04 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005572/2.81, allocations: 2.847 MB / 1.15 GB, free: 94.7 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/2.81, allocations: 2.375 kB / 1.15 GB, free: 94.7 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/2.811, allocations: 5.438 kB / 1.15 GB, free: 94.7 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/2.811, allocations: 118.3 kB / 1.15 GB, free: 94.69 MB / 0.5108 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.01779/2.829, allocations: 10.75 MB / 1.161 GB, free: 88.81 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/2.832, allocations: 2.424 MB / 1.163 GB, free: 88.66 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/2.834, allocations: 1.127 MB / 1.164 GB, free: 88.65 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/2.834, allocations: 116.8 kB / 1.164 GB, free: 88.55 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.162e-05/2.834, allocations: 67.58 kB / 1.164 GB, free: 88.52 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=202): time 6.042e-06/2.834, allocations: 3.344 kB / 1.164 GB, free: 88.52 MB / 0.5108 GB Notification: Performance of matching and sorting (n=205): time 0.01673/2.851, allocations: 6.661 MB / 1.171 GB, free: 87.65 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/2.851, allocations: 97.55 kB / 1.171 GB, free: 87.55 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/2.852, allocations: 0.6357 MB / 1.172 GB, free: 87.41 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0002872/2.853, allocations: 29.02 kB / 1.172 GB, free: 87.38 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/2.853, allocations: 0.7693 MB / 1.172 GB, free: 86.94 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006323/2.854, allocations: 0.681 MB / 1.173 GB, free: 86.48 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/2.854, allocations: 0 / 1.173 GB, free: 86.48 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001793/2.854, allocations: 443.7 kB / 1.173 GB, free: 86.17 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/2.855, allocations: 0.9584 MB / 1.174 GB, free: 86.16 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/2.857, allocations: 1.522 MB / 1.176 GB, free: 85.52 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/2.86, allocations: 1.536 MB / 1.177 GB, free: 85.49 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/2.86, allocations: 4.625 kB / 1.177 GB, free: 85.49 MB / 0.5108 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.006282/2.866, allocations: 3.631 MB / 1.181 GB, free: 84.61 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.001788/2.868, allocations: 6.271 MB / 1.187 GB, free: 77.98 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/2.868, allocations: 18.91 kB / 1.187 GB, free: 77.98 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00751/2.875, allocations: 2.164 MB / 1.189 GB, free: 77.64 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/2.877, allocations: 474.3 kB / 1.19 GB, free: 77.62 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006397/2.884, allocations: 5.505 MB / 1.195 GB, free: 74.28 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/2.886, allocations: 208.9 kB / 1.195 GB, free: 74.27 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/2.887, allocations: 155.7 kB / 1.195 GB, free: 74.25 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/2.887, allocations: 3.969 kB / 1.195 GB, free: 74.25 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00567/2.892, allocations: 3.423 MB / 1.199 GB, free: 73.17 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/2.892, allocations: 13.75 kB / 1.199 GB, free: 73.17 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007248/2.9, allocations: 2.161 MB / 1.201 GB, free: 72.83 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/2.902, allocations: 466.3 kB / 1.201 GB, free: 72.79 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/2.908, allocations: 5.501 MB / 1.207 GB, free: 69.45 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/2.911, allocations: 199.2 kB / 1.207 GB, free: 69.43 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/2.911, allocations: 162.3 kB / 1.207 GB, free: 69.41 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 179 * 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 {10 98} Notification: Performance of prepare postOptimizeDAE: time 0.0007726/2.912, allocations: 146.2 kB / 1.207 GB, free: 69.27 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006742/2.919, allocations: 3.225 MB / 1.21 GB, free: 68.32 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005532/2.919, allocations: 137.5 kB / 1.21 GB, free: 68.25 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00835/2.927, allocations: 3.776 MB / 1.214 GB, free: 67.12 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/2.928, allocations: 21.88 kB / 1.214 GB, free: 67.12 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/2.928, allocations: 5.062 kB / 1.214 GB, free: 67.12 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/2.928, allocations: 13.44 kB / 1.214 GB, free: 67.12 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/2.938, allocations: 5.354 MB / 1.219 GB, free: 65.35 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/2.938, allocations: 3.812 kB / 1.219 GB, free: 65.35 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/2.94, allocations: 469.1 kB / 1.22 GB, free: 65.31 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003344/2.944, allocations: 1.081 MB / 1.221 GB, free: 65.03 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/2.944, allocations: 61.12 kB / 1.221 GB, free: 65 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009091/2.953, allocations: 7.844 MB / 1.229 GB, free: 59.32 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/2.953, allocations: 3.406 kB / 1.229 GB, free: 59.32 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008629/2.962, allocations: 4.773 MB / 1.233 GB, free: 56.34 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/2.963, allocations: 187.5 kB / 1.233 GB, free: 56.13 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/2.963, allocations: 19.97 kB / 1.233 GB, free: 56.11 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/2.964, allocations: 128.3 kB / 1.233 GB, free: 56 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/2.965, allocations: 161.8 kB / 1.234 GB, free: 55.84 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/2.965, allocations: 154.4 kB / 1.234 GB, free: 55.69 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006848/2.966, allocations: 479.1 kB / 1.234 GB, free: 55.22 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2e-07/2.966, allocations: 0 / 1.234 GB, free: 55.22 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.00383/2.97, allocations: 1.039 MB / 1.235 GB, free: 54.18 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (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.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 176 * 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.009503/2.979, allocations: 6.531 MB / 1.242 GB, free: 47.89 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.007951/2.987, allocations: 4.364 MB / 1.246 GB, free: 43.54 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/2.987, allocations: 4.781 kB / 1.246 GB, free: 43.54 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.003081/2.99, allocations: 1.688 MB / 1.248 GB, free: 41.85 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/2.994, allocations: 0.5165 MB / 1.248 GB, free: 41.34 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008637/3.002, allocations: 4.156 MB / 1.252 GB, free: 37.18 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/3.003, allocations: 1.57 MB / 1.254 GB, free: 35.58 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.003809/3.007, allocations: 1.125 MB / 1.255 GB, free: 34.51 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/3.009, allocations: 0.7608 MB / 1.255 GB, free: 33.75 MB / 0.5108 GB Notification: Performance of SimCode: time 1.843e-06/3.009, allocations: 0 / 1.255 GB, free: 33.75 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4985/3.507, allocations: 68.56 MB / 1.322 GB, free: 84.01 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/3.507, allocations: 150.2 kB / 1.323 GB, free: 83.82 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.623/8.131, allocations: 0 / 1.323 GB, free: 83.82 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe 2>&1)