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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 93.88 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 185.8 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3076/0.3076, allocations: 48.79 MB / 320.4 MB, free: 11.32 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008595/0.0008596, allocations: 14.67 kB / 391.2 MB, free: 50.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1946, allocations: 60.27 MB / 451.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.612/0.8067, allocations: 145.3 MB / 0.5828 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003915/0.8107, allocations: 1.817 MB / 0.5846 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.8115, allocations: 12.22 kB / 0.5846 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.8126, allocations: 286.4 kB / 0.5849 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.8143, allocations: 0.686 MB / 0.5855 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.817, allocations: 0.8356 MB / 0.5864 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.8191, allocations: 1.081 MB / 0.5874 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.8202, allocations: 0.5364 MB / 0.5879 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.8221, allocations: 0.7861 MB / 0.5887 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.8233, allocations: 0.571 MB / 0.5893 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.8235, allocations: 40.88 kB / 0.5893 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.8253, allocations: 0.4951 MB / 0.5898 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007473/0.826, allocations: 0.7401 MB / 0.5905 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.8265, allocations: 356.9 kB / 0.5908 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.8288, allocations: 1.81 MB / 0.5926 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8288, allocations: 0 / 0.5926 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8288, allocations: 0 / 0.5926 GB, free: 11.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.068e-05/0.8289, allocations: 0 / 0.5926 GB, free: 11.9 MB / 430.1 MB 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.004091/0.833, allocations: 2.04 MB / 0.5946 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.833, allocations: 7.844 kB / 0.5946 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002993/0.8333, allocations: 145.1 kB / 0.5948 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.8346, allocations: 310.8 kB / 0.595 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.8376, allocations: 1.307 MB / 0.5963 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.8377, allocations: 96.97 kB / 0.5964 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.8379, allocations: 83.44 kB / 0.5965 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.8399, allocations: 1.123 MB / 0.5976 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.84, allocations: 6.812 kB / 0.5976 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.8401, allocations: 42.81 kB / 0.5976 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/0.8401, allocations: 32.88 kB / 0.5977 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.8415, allocations: 0.8272 MB / 0.5985 GB, free: 9.133 MB / 430.1 MB 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.01023/0.8518, allocations: 5.114 MB / 0.6035 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.8525, allocations: 329.8 kB / 0.6038 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.8525, allocations: 2.812 kB / 0.6038 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.8526, allocations: 48.39 kB / 0.6038 GB, free: 5.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=38): time 2.345e-06/0.8526, allocations: 0 / 0.6038 GB, free: 5.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.003359/0.856, allocations: 1.661 MB / 0.6055 GB, free: 4.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.8561, allocations: 83.02 kB / 0.6055 GB, free: 4.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/0.8607, allocations: 3.433 MB / 0.6089 GB, free: 4.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.8609, allocations: 39.92 kB / 0.6089 GB, free: 3.973 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00089/0.8618, allocations: 0.9678 MB / 0.6099 GB, free: 3.699 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.862, allocations: 147.1 kB / 0.61 GB, free: 3.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.8621, allocations: 13.84 kB / 0.61 GB, free: 3.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.8623, allocations: 338.4 kB / 0.6104 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.8627, allocations: 202.9 kB / 0.6105 GB, free: 3.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.8632, allocations: 391.6 kB / 0.6109 GB, free: 2.977 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.8638, allocations: 265 kB / 0.6112 GB, free: 2.938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.8638, allocations: 0 / 0.6112 GB, free: 2.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001757/0.8656, allocations: 0.8475 MB / 0.612 GB, free: 2.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.8656, allocations: 7.062 kB / 0.612 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.8656, allocations: 9.906 kB / 0.612 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.8657, allocations: 10.47 kB / 0.612 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.8668, allocations: 220.3 kB / 0.6122 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009635/0.8678, allocations: 1.211 MB / 0.6134 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.869, allocations: 31.33 kB / 0.6134 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.8691, allocations: 33.39 kB / 0.6135 GB, free: 1.422 MB / 430.1 MB 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.001204/0.8703, allocations: 0.5944 MB / 0.6141 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/0.8707, allocations: 225.3 kB / 0.6143 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009531/0.8717, allocations: 0.5358 MB / 0.6148 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.8717, allocations: 4 kB / 0.6148 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8717, allocations: 1.859 kB / 0.6148 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.8718, allocations: 7.984 kB / 0.6148 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.875, allocations: 1.825 MB / 0.6166 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.8751, allocations: 3.984 kB / 0.6166 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.8758, allocations: 132.7 kB / 0.6167 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.8758, allocations: 0 / 0.6167 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.8759, allocations: 10.12 kB / 0.6167 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.8771, allocations: 1.204 MB / 0.6179 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8771, allocations: 0 / 0.6179 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.8785, allocations: 0.8078 MB / 0.6187 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009903/0.8795, allocations: 436.9 kB / 0.6191 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.8797, allocations: 10.19 kB / 0.6191 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007858/0.8805, allocations: 50.88 kB / 0.6192 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.8806, allocations: 26.7 kB / 0.6192 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.8806, allocations: 23.86 kB / 0.6192 GB, free: 12.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003709/0.8844, allocations: 2.442 MB / 0.6216 GB, free: 10.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8844, allocations: 1.859 kB / 0.6216 GB, free: 10.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00146/0.8858, allocations: 332.4 kB / 0.6219 GB, free: 10.64 MB / 446.1 MB 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.003308/0.8892, allocations: 1.872 MB / 0.6238 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.8903, allocations: 457 kB / 0.6242 GB, free: 8.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.8903, allocations: 0.5625 kB / 0.6242 GB, free: 8.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.8906, allocations: 174.5 kB / 0.6244 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/0.8941, allocations: 0.5611 MB / 0.6249 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.907, allocations: 10.68 MB / 0.6353 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.9085, allocations: 1.515 MB / 0.6368 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001683/0.9102, allocations: 344.5 kB / 0.6371 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.9113, allocations: 0.7267 MB / 0.6379 GB, free: 10.57 MB / 462.1 MB Notification: Performance of SimCode: time 2.435e-06/0.9113, allocations: 0 / 0.6379 GB, free: 10.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/1.035, allocations: 43.71 MB / 0.6805 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/1.035, allocations: 228.6 kB / 0.6808 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.737/5.773, allocations: 0 / 0.6808 GB, free: 14.53 MB / 0.4981 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) Environment - environmentSimulation: