Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbine,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine",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.001078/0.001078, allocations: 105 kB / 17.06 MB, free: 6.023 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.001124/0.001124, allocations: 195 kB / 18 MB, free: 5.109 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.317/1.317, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.272/0.272, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.001805/0.001805, allocations: 71.91 kB / 450 MB, free: 9.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1106, allocations: 59.14 MB / 0.4972 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3819/0.4926, allocations: 170.6 MB / 0.6638 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005379/0.498, allocations: 3.813 MB / 0.6675 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.4985, allocations: 11.94 kB / 0.6675 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007767/0.4993, allocations: 258.4 kB / 0.6678 GB, free: 11.95 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008792/0.5002, allocations: 497.5 kB / 0.6682 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.5038, allocations: 1.548 MB / 0.6698 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.5051, allocations: 1.237 MB / 0.671 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/0.5056, allocations: 377.6 kB / 0.6713 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.5062, allocations: 494.3 kB / 0.6718 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.5067, allocations: 446.4 kB / 0.6722 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.5068, allocations: 60 kB / 0.6723 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.5094, allocations: 1.427 MB / 0.6737 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.5097, allocations: 383 kB / 0.674 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.5101, allocations: 457.6 kB / 0.6745 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.5122, allocations: 1.734 MB / 0.6762 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5122, allocations: 3.938 kB / 0.6762 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5122, allocations: 0 / 0.6762 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.5122, allocations: 4 kB / 0.6762 GB, free: 3.316 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001781/0.514, allocations: 1.281 MB / 0.6774 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5141, allocations: 11.89 kB / 0.6774 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.5142, allocations: 98.45 kB / 0.6775 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.5149, allocations: 158.7 kB / 0.6777 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.5158, allocations: 0.6509 MB / 0.6783 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.5158, allocations: 37 kB / 0.6784 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.5159, allocations: 51.94 kB / 0.6784 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009006/0.5168, allocations: 0.6072 MB / 0.679 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.5168, allocations: 4 kB / 0.679 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/0.5169, allocations: 28.75 kB / 0.679 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.5169, allocations: 12 kB / 0.679 GB, free: 276 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/0.5176, allocations: 467.7 kB / 0.6795 GB, free: 15.81 MB / 0.5294 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.003656/0.5213, allocations: 2.339 MB / 0.6818 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.5215, allocations: 134.6 kB / 0.6819 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.5216, allocations: 52.84 kB / 0.6819 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.5219, allocations: 121.1 kB / 0.6821 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.5219, allocations: 42.56 kB / 0.6821 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.5219, allocations: 0 / 0.6821 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0004781/0.5224, allocations: 256.8 kB / 0.6824 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.5225, allocations: 51.41 kB / 0.6824 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.5239, allocations: 1.34 MB / 0.6837 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.5239, allocations: 29.7 kB / 0.6837 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.5243, allocations: 471 kB / 0.6842 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.5243, allocations: 51.3 kB / 0.6842 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.5245, allocations: 85.97 kB / 0.6843 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.5246, allocations: 329.9 kB / 0.6846 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.5248, allocations: 126.6 kB / 0.6848 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.525, allocations: 246.3 kB / 0.685 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.5254, allocations: 332.9 kB / 0.6853 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.5254, allocations: 3.984 kB / 0.6853 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006993/0.5262, allocations: 483.9 kB / 0.6858 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5262, allocations: 8 kB / 0.6858 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5262, allocations: 4 kB / 0.6858 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5262, allocations: 8 kB / 0.6858 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.5267, allocations: 104.3 kB / 0.6859 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000385/0.5271, allocations: 0.6055 MB / 0.6865 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.5275, allocations: 74.17 kB / 0.6866 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.5276, allocations: 20 kB / 0.6866 GB, free: 8.133 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003792/0.528, allocations: 306.3 kB / 0.6869 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.5281, allocations: 102.9 kB / 0.687 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.5285, allocations: 245.1 kB / 0.6872 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5285, allocations: 0 / 0.6872 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5285, allocations: 3.984 kB / 0.6872 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5286, allocations: 0 / 0.6872 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.5292, allocations: 0.5568 MB / 0.6877 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5292, allocations: 3.938 kB / 0.6877 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.5294, allocations: 39.97 kB / 0.6878 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5295, allocations: 0 / 0.6878 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.5295, allocations: 8 kB / 0.6878 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002905/0.5298, allocations: 0.6015 MB / 0.6884 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5298, allocations: 4.031 kB / 0.6884 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.5302, allocations: 366.8 kB / 0.6887 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.5305, allocations: 203.9 kB / 0.6889 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5306, allocations: 8.156 kB / 0.6889 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.531, allocations: 19.98 kB / 0.689 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.531, allocations: 7.984 kB / 0.689 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.5311, allocations: 16.8 kB / 0.689 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001081/0.5322, allocations: 0.9502 MB / 0.6899 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5322, allocations: 0 / 0.6899 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006986/0.5329, allocations: 223.8 kB / 0.6901 GB, free: 4.363 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001905/0.5348, allocations: 1.355 MB / 0.6914 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.5353, allocations: 248.1 kB / 0.6917 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5353, allocations: 0 / 0.6917 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5354, allocations: 63.92 kB / 0.6917 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.5369, allocations: 339.6 kB / 0.6921 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/0.546, allocations: 7.989 MB / 0.6999 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.5466, allocations: 0.9881 MB / 0.7008 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005165/0.5471, allocations: 174.6 kB / 0.701 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.5475, allocations: 299.3 kB / 0.7013 GB, free: 8.617 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.5475, allocations: 0 / 0.7013 GB, free: 8.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/0.6011, allocations: 25.15 MB / 0.7258 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.84, allocations: 4.062 kB / 0.7258 GB, free: 15.38 MB / 0.5762 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbine.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)