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.00105/0.00105, allocations: 102 kB / 17.05 MB, free: 6.129 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.001244/0.001244, allocations: 196 kB / 18 MB, free: 5.203 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.245/1.245, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2586/0.2586, allocations: 48.85 MB / 320.1 MB, free: 11 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.001383/0.001383, allocations: 63.91 kB / 450 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 59.15 MB / 0.4972 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.3731/0.4792, allocations: 170.6 MB / 0.6638 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004739/0.4839, allocations: 3.817 MB / 0.6675 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.4842, allocations: 4 kB / 0.6675 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.485, allocations: 262.3 kB / 0.6678 GB, free: 11.94 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.0007951/0.4858, allocations: 489.6 kB / 0.6682 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.489, allocations: 1.556 MB / 0.6698 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.4902, allocations: 1.237 MB / 0.671 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.4907, allocations: 373.6 kB / 0.6713 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005299/0.4912, allocations: 478.4 kB / 0.6718 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.4917, allocations: 450.4 kB / 0.6722 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.958e-05/0.4918, allocations: 56 kB / 0.6723 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.4941, allocations: 1.435 MB / 0.6737 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.4945, allocations: 379 kB / 0.674 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.4949, allocations: 461.6 kB / 0.6745 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.4967, allocations: 1.737 MB / 0.6762 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4968, allocations: 0 / 0.6762 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4968, allocations: 0 / 0.6762 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4968, 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.001941/0.4987, allocations: 1.277 MB / 0.6774 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4988, allocations: 11.89 kB / 0.6774 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.4989, allocations: 98.45 kB / 0.6775 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.4996, allocations: 158.7 kB / 0.6777 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5006, allocations: 0.6508 MB / 0.6783 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.5007, allocations: 40.94 kB / 0.6783 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.5008, allocations: 48 kB / 0.6784 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.5017, allocations: 0.6034 MB / 0.679 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.5017, allocations: 0 / 0.679 GB, free: 328 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.5018, allocations: 27.94 kB / 0.679 GB, free: 300 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.5018, allocations: 12.62 kB / 0.679 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.5025, allocations: 471.7 kB / 0.6795 GB, free: 15.82 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.003703/0.5062, allocations: 2.339 MB / 0.6818 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.5064, allocations: 138.6 kB / 0.6819 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.137e-05/0.5065, allocations: 48.84 kB / 0.6819 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.5068, allocations: 125.1 kB / 0.6821 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.5068, allocations: 42.56 kB / 0.6821 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.5068, allocations: 0 / 0.6821 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0004569/0.5073, allocations: 252.9 kB / 0.6823 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.5074, allocations: 55.34 kB / 0.6824 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.5088, allocations: 1.336 MB / 0.6837 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.5088, allocations: 33.7 kB / 0.6837 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.5091, allocations: 471 kB / 0.6842 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.5092, allocations: 51.3 kB / 0.6842 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.5093, allocations: 85.97 kB / 0.6843 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5094, allocations: 321.9 kB / 0.6846 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.5096, allocations: 131.3 kB / 0.6847 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.5099, allocations: 241.5 kB / 0.685 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.5103, allocations: 348.7 kB / 0.6853 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5103, allocations: 0 / 0.6853 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006704/0.511, allocations: 480 kB / 0.6858 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.511, allocations: 11.91 kB / 0.6858 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.511, allocations: 4 kB / 0.6858 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.511, allocations: 8.531 kB / 0.6858 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.5115, allocations: 101.1 kB / 0.6859 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003427/0.5118, allocations: 0.6133 MB / 0.6865 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.5122, allocations: 71.17 kB / 0.6865 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.5123, allocations: 21.48 kB / 0.6866 GB, free: 8.129 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.0003271/0.5126, allocations: 302.3 kB / 0.6869 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.5128, allocations: 98.81 kB / 0.6869 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.5131, allocations: 238.9 kB / 0.6872 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5132, allocations: 0 / 0.6872 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5132, allocations: 0.875 kB / 0.6872 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5132, allocations: 3.984 kB / 0.6872 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.5138, allocations: 0.5607 MB / 0.6877 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.5138, allocations: 3.938 kB / 0.6877 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.514, allocations: 43.91 kB / 0.6878 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.514, allocations: 0 / 0.6878 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.5141, allocations: 12.75 kB / 0.6878 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002847/0.5144, allocations: 0.5937 MB / 0.6884 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5144, allocations: 4.031 kB / 0.6884 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.5148, allocations: 370.7 kB / 0.6887 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.5151, allocations: 203.9 kB / 0.6889 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.5152, allocations: 8.156 kB / 0.6889 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.5156, allocations: 18.17 kB / 0.6889 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.5157, allocations: 7.984 kB / 0.689 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.5157, allocations: 15.98 kB / 0.689 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001033/0.5167, allocations: 0.9541 MB / 0.6899 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5167, allocations: 0 / 0.6899 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000628/0.5174, allocations: 219.8 kB / 0.6901 GB, free: 4.367 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.001798/0.5192, allocations: 1.365 MB / 0.6914 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.5196, allocations: 240.1 kB / 0.6917 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5197, allocations: 0 / 0.6917 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.5198, allocations: 67.91 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.00142/0.5212, allocations: 331.7 kB / 0.6921 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008812/0.5301, allocations: 7.996 MB / 0.6999 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.5306, allocations: 0.9881 MB / 0.7008 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004377/0.5311, allocations: 170.6 kB / 0.701 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.5314, allocations: 295.3 kB / 0.7013 GB, free: 8.629 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5314, allocations: 0 / 0.7013 GB, free: 8.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0484/0.5798, allocations: 24.6 MB / 0.7253 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.68, allocations: 0 / 0.7253 GB, free: 15.93 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)