Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.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.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",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.001741/0.001741, allocations: 180.8 kB / 16.39 MB, free: 5.762 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.644/1.644, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0009159/0.0009161, allocations: 91.83 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5787/0.5787, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003684, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.093/2.252, allocations: 0.7548 GB / 1.242 GB, free: 53.83 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/2.252, allocations: 81.66 kB / 1.242 GB, free: 53.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.304/4.556, allocations: 476.1 MB / 1.707 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.527e-06/4.556, allocations: 0 / 1.707 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000324/4.557, allocations: 44.95 kB / 1.707 GB, free: 90.43 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.006833/4.563, allocations: 2.113 MB / 1.709 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/4.564, allocations: 11.31 kB / 1.709 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006667/4.564, allocations: 140.7 kB / 1.709 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/4.566, allocations: 304.3 kB / 1.71 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/4.571, allocations: 1.436 MB / 1.711 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/4.571, allocations: 92.2 kB / 1.711 GB, free: 89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/4.572, allocations: 91.97 kB / 1.711 GB, free: 89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/4.575, allocations: 1.108 MB / 1.712 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.165e-05/4.575, allocations: 9.625 kB / 1.712 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/4.575, allocations: 41.41 kB / 1.712 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.893e-05/4.575, allocations: 34.53 kB / 1.712 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/4.577, allocations: 0.8003 MB / 1.713 GB, free: 88.81 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01225/4.59, allocations: 5.201 MB / 1.718 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/4.59, allocations: 312.8 kB / 1.719 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/4.59, allocations: 10.83 kB / 1.719 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/4.591, allocations: 45.34 kB / 1.719 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=38): time 4.237e-06/4.591, allocations: 0 / 1.719 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.004392/4.595, allocations: 1.65 MB / 1.72 GB, free: 85.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/4.595, allocations: 89.53 kB / 1.72 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007113/4.602, allocations: 3.094 MB / 1.723 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/4.602, allocations: 37.77 kB / 1.723 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/4.604, allocations: 0.9944 MB / 1.724 GB, free: 85.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/4.604, allocations: 140.2 kB / 1.724 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/4.604, allocations: 14.97 kB / 1.724 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001067/4.604, allocations: 326.7 kB / 1.725 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/4.604, allocations: 207.4 kB / 1.725 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/4.605, allocations: 389.7 kB / 1.725 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/4.605, allocations: 267.2 kB / 1.726 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/4.605, allocations: 3.188 kB / 1.726 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002079/4.607, allocations: 0.8461 MB / 1.726 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/4.607, allocations: 6.344 kB / 1.726 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/4.607, allocations: 7.094 kB / 1.726 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.167e-05/4.607, allocations: 9.75 kB / 1.726 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/4.609, allocations: 222.3 kB / 1.727 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007098/4.609, allocations: 1.211 MB / 1.728 GB, free: 83.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/4.611, allocations: 47.27 kB / 1.728 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/4.611, allocations: 26.88 kB / 1.728 GB, free: 83.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001481/4.613, allocations: 0.5962 MB / 1.729 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009008/4.613, allocations: 226.2 kB / 1.729 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/4.615, allocations: 0.5323 MB / 1.729 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/4.615, allocations: 6.219 kB / 1.729 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/4.615, allocations: 3 kB / 1.729 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/4.615, allocations: 2.953 kB / 1.729 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/4.621, allocations: 2.019 MB / 1.731 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/4.621, allocations: 0.875 kB / 1.731 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/4.622, allocations: 134.3 kB / 1.731 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/4.622, allocations: 3.688 kB / 1.731 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/4.622, allocations: 11.03 kB / 1.731 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005805/4.623, allocations: 1.201 MB / 1.733 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/4.623, allocations: 2.953 kB / 1.733 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/4.625, allocations: 0.8099 MB / 1.733 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/4.626, allocations: 0.4944 MB / 1.734 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006749/4.627, allocations: 12.38 kB / 1.734 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/4.628, allocations: 37.09 kB / 1.734 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/4.629, allocations: 28.88 kB / 1.734 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.563e-05/4.629, allocations: 29.11 kB / 1.734 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005796/4.634, allocations: 2.4 MB / 1.736 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.9e-07/4.634, allocations: 0 / 1.736 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003316/4.638, allocations: 448.2 kB / 1.737 GB, free: 80.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006855/4.645, allocations: 2.543 MB / 1.739 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001422/4.646, allocations: 460.6 kB / 1.74 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/4.646, allocations: 2.109 kB / 1.74 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/4.647, allocations: 166.9 kB / 1.74 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/4.651, allocations: 0.5666 MB / 1.74 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/4.67, allocations: 10.83 MB / 1.751 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/4.673, allocations: 1.508 MB / 1.752 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002808/4.676, allocations: 375.2 kB / 1.753 GB, free: 70.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/4.678, allocations: 0.735 MB / 1.753 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.534e-06/4.678, allocations: 1.219 kB / 1.753 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/4.81, allocations: 58.35 MB / 1.81 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/4.81, allocations: 232.4 kB / 1.811 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.106/9.916, allocations: 0 / 1.811 GB, free: 58.91 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)