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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 181.7 kB / 8.131 MB, free: 2.199 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.027/1.027, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0008243/0.0008243, allocations: 89.89 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2824/0.2824, allocations: 48.76 MB / 358.4 MB, free: 53.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09299/0.3755, allocations: 66.36 MB / 424.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.4635, allocations: 60.26 MB / 485.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7622/1.226, allocations: 456.3 MB / 0.9193 GB, free: 171 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.226, allocations: 74.22 kB / 0.9194 GB, free: 171 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: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.5663/1.792, allocations: 229 MB / 1.143 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/1.792, allocations: 7.906 kB / 1.143 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/1.796, allocations: 493.1 kB / 1.144 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/1.799, allocations: 1.182 MB / 1.145 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/1.799, allocations: 68.94 kB / 1.145 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005673/1.799, allocations: 124.4 kB / 1.145 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005037/1.804, allocations: 3.229 MB / 1.148 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/1.809, allocations: 2.927 MB / 1.151 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/1.809, allocations: 3.844 kB / 1.151 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/1.809, allocations: 3.719 kB / 1.151 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.333e-05/1.809, allocations: 118.4 kB / 1.151 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/1.823, allocations: 12.55 MB / 1.163 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/1.826, allocations: 2.339 MB / 1.166 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/1.828, allocations: 1.173 MB / 1.167 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/1.828, allocations: 120.3 kB / 1.167 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.828, allocations: 59.09 kB / 1.167 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=202): time 4.048e-06/1.828, allocations: 1.547 kB / 1.167 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=205): time 0.01515/1.843, allocations: 6.89 MB / 1.174 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.843, allocations: 100.3 kB / 1.174 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/1.844, allocations: 0.6443 MB / 1.174 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/1.844, allocations: 28.11 kB / 1.174 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/1.844, allocations: 0.6843 MB / 1.175 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000414/1.845, allocations: 0.6885 MB / 1.176 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.845, allocations: 0 / 1.176 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.845, allocations: 443.7 kB / 1.176 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.846, allocations: 0.9906 MB / 1.177 GB, free: 82.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/1.848, allocations: 1.564 MB / 1.179 GB, free: 81.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/1.85, allocations: 1.64 MB / 1.18 GB, free: 81.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/1.85, allocations: 2.625 kB / 1.18 GB, free: 81.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.005495/1.856, allocations: 3.803 MB / 1.184 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009477/1.857, allocations: 6.27 MB / 1.19 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.857, allocations: 14.31 kB / 1.19 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007509/1.864, allocations: 2.173 MB / 1.192 GB, free: 72.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.866, allocations: 481.4 kB / 1.193 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/1.872, allocations: 5.786 MB / 1.198 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.874, allocations: 189.9 kB / 1.198 GB, free: 69.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/1.874, allocations: 161.7 kB / 1.199 GB, free: 69.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/1.874, allocations: 3.156 kB / 1.199 GB, free: 69.49 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005101/1.879, allocations: 3.592 MB / 1.202 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.879, allocations: 16.5 kB / 1.202 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00761/1.887, allocations: 2.165 MB / 1.204 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/1.889, allocations: 472.6 kB / 1.205 GB, free: 68.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006103/1.895, allocations: 5.788 MB / 1.21 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.897, allocations: 191.8 kB / 1.211 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/1.897, allocations: 157.5 kB / 1.211 GB, free: 64.66 MB / 0.5105 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.0006536/1.898, allocations: 164.9 kB / 1.211 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/1.898, allocations: 138 kB / 1.211 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008452/1.907, allocations: 4.064 MB / 1.215 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.907, allocations: 17.19 kB / 1.215 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.907, allocations: 6.844 kB / 1.215 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/1.907, allocations: 15.86 kB / 1.215 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/1.916, allocations: 5.496 MB / 1.22 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/1.916, allocations: 3.062 kB / 1.22 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.918, allocations: 459.3 kB / 1.221 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003503/1.922, allocations: 1.087 MB / 1.222 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/1.922, allocations: 61.91 kB / 1.222 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009038/1.931, allocations: 7.614 MB / 1.229 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.931, allocations: 5.312 kB / 1.229 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007871/1.939, allocations: 4.958 MB / 1.234 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008743/1.948, allocations: 6.836 MB / 1.241 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/1.948, allocations: 202.8 kB / 1.241 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/1.948, allocations: 15.98 kB / 1.241 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.95, allocations: 129.4 kB / 1.241 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/1.95, allocations: 133.7 kB / 1.241 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/1.95, allocations: 147.9 kB / 1.241 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004726/1.951, allocations: 483.1 kB / 1.242 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006608/1.958, allocations: 1.18 MB / 1.243 GB, free: 41.34 MB / 0.5105 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.00131/1.959, allocations: 1.11 MB / 1.244 GB, free: 40.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006962/1.966, allocations: 4.544 MB / 1.249 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.966, allocations: 5.156 kB / 1.249 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/1.969, allocations: 1.701 MB / 1.25 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.971, allocations: 0.4942 MB / 1.251 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/1.977, allocations: 3.939 MB / 1.255 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.979, allocations: 1.932 MB / 1.256 GB, free: 27.92 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/1.979, allocations: 0 / 1.256 GB, free: 27.92 MB / 0.5105 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)