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.001088/0.001088, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001041/0.001042, allocations: 188 kB / 18 MB, free: 5.219 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.295/1.295, 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.2813/0.2813, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.001489/0.001489, allocations: 71.89 kB / 450 MB, free: 9.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 59.15 MB / 0.4972 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4121/0.5214, allocations: 170.6 MB / 0.6638 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00515/0.5266, allocations: 3.813 MB / 0.6675 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.527, allocations: 11.94 kB / 0.6675 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008141/0.5278, allocations: 262.4 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.001024/0.5289, allocations: 497.5 kB / 0.6683 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004065/0.533, allocations: 1.544 MB / 0.6698 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.5346, allocations: 1.233 MB / 0.671 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004846/0.5351, allocations: 377.5 kB / 0.6713 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006305/0.5357, allocations: 482.4 kB / 0.6718 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.5362, allocations: 450.4 kB / 0.6722 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.304e-05/0.5363, allocations: 60 kB / 0.6723 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.5389, allocations: 1.427 MB / 0.6737 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.5393, allocations: 379 kB / 0.674 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.5397, allocations: 465.6 kB / 0.6745 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.5421, allocations: 1.726 MB / 0.6762 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5421, allocations: 3.938 kB / 0.6762 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5421, allocations: 4 kB / 0.6762 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.5421, allocations: 0 / 0.6762 GB, free: 3.324 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.001973/0.5441, allocations: 1.281 MB / 0.6774 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5442, allocations: 19.83 kB / 0.6774 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.5443, allocations: 98.45 kB / 0.6775 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007053/0.545, allocations: 150.7 kB / 0.6777 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.5459, allocations: 0.6509 MB / 0.6783 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.5459, allocations: 37 kB / 0.6783 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.546, allocations: 52 kB / 0.6784 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/0.547, allocations: 0.615 MB / 0.679 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.547, allocations: 0 / 0.679 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.5471, allocations: 27.94 kB / 0.679 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5471, allocations: 12 kB / 0.679 GB, free: 280 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.5478, allocations: 463.8 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.003809/0.5516, allocations: 2.339 MB / 0.6818 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.5519, allocations: 139.2 kB / 0.6819 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.552, allocations: 52.84 kB / 0.6819 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.5522, allocations: 125.1 kB / 0.6821 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5523, allocations: 42.5 kB / 0.6821 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.5523, allocations: 0 / 0.6821 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0004869/0.5528, allocations: 252.9 kB / 0.6823 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.5528, allocations: 55.41 kB / 0.6824 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.5543, allocations: 1.336 MB / 0.6837 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.5543, allocations: 29.7 kB / 0.6837 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.5548, allocations: 475 kB / 0.6842 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.5548, allocations: 51.28 kB / 0.6842 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.5549, allocations: 85.98 kB / 0.6843 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5551, allocations: 325.9 kB / 0.6846 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.5553, allocations: 126.6 kB / 0.6847 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.5555, allocations: 251.2 kB / 0.685 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.5559, allocations: 332.9 kB / 0.6853 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.556, allocations: 4 kB / 0.6853 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006871/0.5566, allocations: 483.8 kB / 0.6858 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.5567, allocations: 8 kB / 0.6858 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5567, allocations: 4 kB / 0.6858 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.5567, allocations: 4 kB / 0.6858 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.5572, allocations: 108.3 kB / 0.6859 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003445/0.5575, allocations: 0.6094 MB / 0.6865 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.558, allocations: 75.17 kB / 0.6866 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.558, allocations: 23.98 kB / 0.6866 GB, free: 8.121 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.0003407/0.5584, allocations: 291 kB / 0.6869 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5585, allocations: 98.91 kB / 0.6869 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.5589, allocations: 248.2 kB / 0.6872 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5589, allocations: 4 kB / 0.6872 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5589, allocations: 0 / 0.6872 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5589, allocations: 0 / 0.6872 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.5596, allocations: 0.5568 MB / 0.6877 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5596, allocations: 3.938 kB / 0.6877 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.5598, allocations: 43.97 kB / 0.6878 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5598, allocations: 0 / 0.6878 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5599, allocations: 4 kB / 0.6878 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003033/0.5602, allocations: 0.6023 MB / 0.6884 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5602, allocations: 0 / 0.6884 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.5606, allocations: 374.8 kB / 0.6887 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.5609, allocations: 203.9 kB / 0.6889 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.761e-05/0.561, allocations: 0 / 0.6889 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.5614, allocations: 24.14 kB / 0.6889 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.5615, allocations: 7.984 kB / 0.689 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.5615, allocations: 17.48 kB / 0.689 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001038/0.5625, allocations: 0.9502 MB / 0.6899 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5625, allocations: 0 / 0.6899 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006661/0.5632, allocations: 223.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.00187/0.5651, allocations: 1.361 MB / 0.6914 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.5656, allocations: 248.3 kB / 0.6917 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5656, allocations: 0 / 0.6917 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.5657, allocations: 59.92 kB / 0.6917 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5672, allocations: 343.4 kB / 0.6921 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009142/0.5763, allocations: 7.992 MB / 0.6999 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.5769, allocations: 0.9881 MB / 0.7008 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005637/0.5775, allocations: 166.7 kB / 0.701 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.5778, allocations: 299.3 kB / 0.7013 GB, free: 8.629 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.5778, allocations: 4 kB / 0.7013 GB, free: 8.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05199/0.6298, allocations: 24.83 MB / 0.7255 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.13, allocations: 0 / 0.7255 GB, free: 15.71 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)